24 lines
499 B
YAML
24 lines
499 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ../backend
|
|
environment:
|
|
- ABOVE_ME__BIND_TO=0.0.0.0:9000
|
|
env_file:
|
|
- .env
|
|
frontend:
|
|
build:
|
|
context: ../frontend
|
|
restart: unless-stopped
|
|
gateway:
|
|
image: nginx
|
|
depends_on:
|
|
- backend
|
|
- frontend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:9000:8080"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./privacy-policy.html:/usr/share/nginx/html/privacy-policy.html:ro
|