This repository has been archived on 2026-04-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
routeros_backup_next/docker-compose.yml
Mateusz Gruszczyński ff7dbcb4e4 first commit
2026-04-12 21:26:12 +02:00

29 lines
670 B
YAML

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
reverse-proxy:
build:
context: .
dockerfile: frontend/Dockerfile
container_name: routeros-backup-reverse-proxy
depends_on:
backend:
condition: service_healthy
ports:
- '${APP_PORT:-8080}:80'
restart: unless-stopped