split containers
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user