48 lines
828 B
YAML
48 lines
828 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
|
|
|
|
video-upload-worker:
|
|
container_name: worker
|
|
build:
|
|
context: .
|
|
target: video-upload-worker
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /nfs/erika:/nfs/erika
|
|
|
|
secret-scan:
|
|
image: ghcr.io/gitleaks/gitleaks:v8.30.1
|
|
profiles:
|
|
- tools
|
|
working_dir: /repo
|
|
volumes:
|
|
- .:/repo:ro
|
|
command:
|
|
- git
|
|
- --redact
|
|
- --no-banner
|
|
- .
|