37 lines
672 B
YAML
37 lines
672 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
env_file:
|
|
- ./.env
|
|
environment:
|
|
APP_HOST: 0.0.0.0
|
|
APP_PORT: 8105
|
|
volumes:
|
|
- ./data:/app/data
|
|
expose:
|
|
- "8105"
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- backend
|
|
expose:
|
|
- "80"
|
|
restart: unless-stopped
|
|
|
|
reverse-proxy:
|
|
image: nginx:1.28.2-alpine
|
|
depends_on:
|
|
- frontend
|
|
- backend
|
|
volumes:
|
|
- ./deploy/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
ports:
|
|
- "8787:80"
|
|
restart: unless-stopped
|