42 lines
745 B
YAML
42 lines
745 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: chestny-znak-backend
|
|
ports:
|
|
- "3002:3001"
|
|
env_file:
|
|
- ./backend/.env
|
|
volumes:
|
|
- ./plans:/app/plans:ro
|
|
networks:
|
|
- chestny-znak-net
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
container_name: chestny-znak-frontend
|
|
ports:
|
|
- "3003:80"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- chestny-znak-net
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
|
|
networks:
|
|
chestny-znak-net:
|
|
driver: bridge
|