feat: initial commit

This commit is contained in:
Stijnvandenbroek
2025-06-29 11:26:13 +02:00
parent e6be7e7fbf
commit 672d3d1cfc
34 changed files with 19962 additions and 0 deletions

45
docker-compose.yml Normal file
View File

@@ -0,0 +1,45 @@
services:
backend:
build:
context: ./stamp_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: ./stamp_frontend
container_name: stamp-frontend
ports:
- "4000:4000"
environment:
- REACT_APP_API_URL=http://localhost:8000
- 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