2026-09-14 01:57:00 +09:00
|
|
|
# uj-mastering-master — web UI, container deployment template.
|
|
|
|
|
#
|
2026-09-14 10:16:52 +09:00
|
|
|
# docker compose up -d --build
|
|
|
|
|
# open http://localhost:8080
|
2026-09-14 01:57:00 +09:00
|
|
|
#
|
2026-09-14 10:16:52 +09:00
|
|
|
# The container serves static files only. Audio is decoded and analysed inside
|
|
|
|
|
# the visitor's browser tab and never sent anywhere (the page's CSP forbids
|
|
|
|
|
# network requests), so there is nothing to upload, persist or log here — and no
|
|
|
|
|
# volumes, on purpose.
|
2026-09-14 01:57:00 +09:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
ujm-web:
|
2026-09-14 10:16:52 +09:00
|
|
|
build: .
|
2026-09-14 01:57:00 +09:00
|
|
|
image: uj-mastering-master-web:local
|
|
|
|
|
container_name: ujm-web
|
|
|
|
|
|
|
|
|
|
ports:
|
2026-09-14 10:16:52 +09:00
|
|
|
- "8080:8080"
|
2026-09-14 01:57:00 +09:00
|
|
|
|
2026-09-14 10:16:52 +09:00
|
|
|
# Nothing to write: nginx only needs somewhere for its pid file and empty
|
|
|
|
|
# temp directories.
|
2026-09-14 01:57:00 +09:00
|
|
|
read_only: true
|
|
|
|
|
tmpfs:
|
2026-09-14 10:16:52 +09:00
|
|
|
- /tmp:size=16m,mode=1777
|
2026-09-14 01:57:00 +09:00
|
|
|
|
|
|
|
|
security_opt:
|
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
cap_drop:
|
|
|
|
|
- ALL
|
|
|
|
|
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
driver: json-file
|
|
|
|
|
options:
|
2026-09-14 10:16:52 +09:00
|
|
|
max-size: "1m"
|
|
|
|
|
max-file: "2"
|