Docker: single container compose
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
frontend:
|
||||
firewall:
|
||||
restart: unless-stopped
|
||||
build: frontend
|
||||
backend:
|
||||
restart: unless-stopped
|
||||
build: backend
|
||||
ports:
|
||||
- 80:80
|
||||
build: firewall
|
||||
network_mode: "host"
|
||||
environment:
|
||||
- NGINX_PORT=8080
|
||||
Reference in New Issue
Block a user