29 lines
418 B
YAML
29 lines
418 B
YAML
services:
|
|
server:
|
|
build: ./server
|
|
volumes:
|
|
- ./server/target/debug:/app
|
|
- ./fonts:/fonts
|
|
ports:
|
|
- 8000:8000
|
|
|
|
client:
|
|
profiles:
|
|
- prod
|
|
build:
|
|
context: ./client
|
|
target: build
|
|
ports:
|
|
- 80:3000
|
|
|
|
client-dev:
|
|
profiles:
|
|
- dev
|
|
build:
|
|
context: ./client
|
|
target: dev
|
|
volumes:
|
|
- ./client:/app
|
|
ports:
|
|
- 80:3000
|