font-explorer/docker-compose.yml

42 lines
621 B
YAML
Raw Normal View History

services:
2025-03-05 13:20:15 +00:00
server: &server
profiles:
- prod
build:
context: ./server
target: prod
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
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
volumes:
- ./client:/app