first commit

This commit is contained in:
Mateusz Gruszczyński
2026-04-14 11:39:46 +02:00
commit 3da6c2832c
125 changed files with 30111 additions and 0 deletions

38
docker-compose.yml Normal file
View File

@@ -0,0 +1,38 @@
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: routeros-backup-backend
env_file:
- .env
volumes:
- ./docker-data:/app/storage
healthcheck:
test: ['CMD', 'curl', '-fsS', 'http://localhost:8000/api/health']
interval: 30s
timeout: 5s
retries: 5
start_period: 20s
restart: unless-stopped
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
container_name: routeros-backup-frontend
restart: unless-stopped
reverse-proxy:
build:
context: .
dockerfile: reverse-proxy/Dockerfile
container_name: routeros-backup-reverse-proxy
depends_on:
backend:
condition: service_healthy
frontend:
condition: service_started
ports:
- '${APP_PORT:-8080}:80'
restart: unless-stopped