mxdrw expects HTTP Basic Auth (BASIC_AUTH_USER + BASIC_AUTH_PASS on the server side). Replace MEXDRAW_TOKEN with MEXDRAW_USER + MEXDRAW_PASS, use req.SetBasicAuth on the export PUT. Updated docker-compose.yml comment and README env table to match. Roundtrip verified locally against mxdrw.msbls.de.
21 lines
628 B
YAML
21 lines
628 B
YAML
# mCables — production compose for mDock.
|
|
# Lives at /home/m/stacks/mcables/docker-compose.yml on mDock.
|
|
# Matches the existing mDock service patterns (mgreen, mgeo, …).
|
|
|
|
services:
|
|
mcables:
|
|
image: mgit.msbls.de/m/mcables:latest
|
|
container_name: mcables
|
|
restart: unless-stopped
|
|
ports:
|
|
- "7777:7777"
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
- MCABLES_ADDR=0.0.0.0:7777
|
|
- MCABLES_DB=/app/data/mcables.db
|
|
env_file:
|
|
# MEXDRAW_USER + MEXDRAW_PASS for the mxdrw HTTP Basic Auth on export.
|
|
- /home/m/secrets/mcables/.env
|
|
volumes:
|
|
- /home/m/stacks/mcables/data:/app/data
|