Files
stamp/docker-compose.yml
2025-08-22 10:01:04 +02:00

45 lines
841 B
YAML

services:
backend:
build:
context: ./backend
container_name: stamp-backend
ports:
- "8000:8000"
networks:
- app-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD-SHELL", "curl -s http://localhost:8000/ || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
frontend:
build:
context: ./frontend
container_name: stamp-frontend
ports:
- "4000:4000"
environment:
- CHOKIDAR_USEPOLLING=true
- WDS_SOCKET_PORT=0
- CI=true
depends_on:
- backend
networks:
- app-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
app-network:
driver: bridge