Study/compose.yaml

20 lines
533 B
YAML

services:
study-v2:
build: .
image: study-desk:v2-local
container_name: study-v2
restart: unless-stopped
init: true
ports:
- "${STUDY_PORT:-3727}:3726"
volumes:
- "${STUDY_DATA_DIR:-./data-v2}:/data"
environment:
TZ: ${TZ:-America/Phoenix}
TRUST_PROXY: ${TRUST_PROXY:-false}
COOKIE_SECURE: ${COOKIE_SECURE:-auto}
MAX_UPLOAD_MB: ${MAX_UPLOAD_MB:-100}
BACKUP_KEEP: ${BACKUP_KEEP:-7}
stop_grace_period: 15s
security_opt:
- no-new-privileges:true