split containers

This commit is contained in:
Mateusz Gruszczyński
2026-04-13 08:48:32 +02:00
parent b3da1851de
commit 7608e74bf1

View File

@@ -16,14 +16,23 @@ services:
start_period: 20s start_period: 20s
restart: unless-stopped restart: unless-stopped
reverse-proxy: frontend:
build: build:
context: . context: .
dockerfile: frontend/Dockerfile 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 container_name: routeros-backup-reverse-proxy
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy
frontend:
condition: service_started
ports: ports:
- '${APP_PORT:-8080}:80' - '${APP_PORT:-8080}:80'
restart: unless-stopped restart: unless-stopped