33 lines
589 B
YAML
33 lines
589 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
target: runner
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8606:80"
|
|
expose:
|
|
- "3000"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /nfs/erika:/nfs/erika
|
|
nginx:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- app
|
|
network_mode: "service:app"
|
|
restart: unless-stopped
|
|
|
|
# worker:
|
|
# build:
|
|
# context: .
|
|
# target: video-upload-worker
|
|
# restart: unless-stopped
|
|
# env_file:
|
|
# - .env
|
|
# volumes:
|
|
# - /nfs/erika:/nfs/erika
|