2025-03-05 12:47:59 +00:00
|
|
|
services:
|
2025-03-05 13:20:15 +00:00
|
|
|
server: &server
|
|
|
|
profiles:
|
|
|
|
- prod
|
|
|
|
build:
|
|
|
|
context: ./server
|
|
|
|
target: prod
|
2025-03-05 12:47:59 +00:00
|
|
|
volumes:
|
|
|
|
- ./fonts:/fonts
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
|
2025-03-05 13:20:15 +00:00
|
|
|
server-dev:
|
|
|
|
profiles:
|
|
|
|
- dev
|
|
|
|
<<: *server
|
|
|
|
build:
|
|
|
|
context: ./server
|
|
|
|
target: dev
|
2025-03-05 18:48:55 +00:00
|
|
|
volumes:
|
|
|
|
- ./server:/build
|
|
|
|
- ./fonts:/fonts
|
2025-03-05 13:20:15 +00:00
|
|
|
|
|
|
|
client: &client
|
2025-03-05 12:47:59 +00:00
|
|
|
profiles:
|
|
|
|
- prod
|
|
|
|
build:
|
|
|
|
context: ./client
|
|
|
|
target: build
|
|
|
|
ports:
|
|
|
|
- 80:3000
|
|
|
|
|
|
|
|
client-dev:
|
|
|
|
profiles:
|
|
|
|
- dev
|
|
|
|
build:
|
|
|
|
context: ./client
|
|
|
|
target: dev
|
2025-03-05 13:20:15 +00:00
|
|
|
<<: *client
|
2025-03-05 12:47:59 +00:00
|
|
|
volumes:
|
|
|
|
- ./client:/app
|