services:
docking-station:
image: loolzzz/docking-station
container_name: docking-station
restart: unless-stopped
# environment:
# - WEB_PORT=3000
# - SERVER_PORT=3001
# Port mapping is not needed with macvlan
# ports:
# - 3000:3000
networks:
macvlan:
ipv4_address: 192.168.1.125
volumes:
- /data/docker/docking-station/config:/config
- /data/docker/docking-station/data:/data
- /data/docker/docking-station/logs:/logs
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
# you should add mount points for each containers' docker-compose file you intend on update using this tool
# i usually put everything in a single neat folder under
- /var/lib/docker/volumes/portainer_data/_data/compose:/mnt/compose-files
networks:
macvlan:
name: MVLAN-Server
external: true
And this is the container-log:
[WEB] ▲ Next.js 14.1.0
[WEB] - Local: http://7275c9041d04:3000
[WEB] - Network: http://[2a00:6020:4782:3c01::23]:3000
[WEB]
[WEB] ✓ Ready in 61ms
[SERVER] INFO Using path src/app/api/main.py
[SERVER] INFO Resolved absolute path /app/docking-station-app/src/app/api/main.py
[SERVER] INFO Searching for package file structure from directories with __init__.py
[SERVER] files
[SERVER] INFO Importing from /app/docking-station-app/src/app
[SERVER]
[SERVER] ╭─ Python package file structure ─╮
[SERVER] │ │
[SERVER] │ 📁 api │
[SERVER] │ ├── 🐍 __init__.py │
[SERVER] │ └── 🐍 main.py │
[SERVER] │ │
[SERVER] ╰─────────────────────────────────╯
[SERVER]
[SERVER] INFO Importing module api.main
[SERVER] INFO Found importable FastAPI app
[SERVER]
[SERVER] ╭── Importable FastAPI app ──╮
[SERVER] │ │
[SERVER] │ from api.main import app │
[SERVER] │ │
[SERVER] ╰────────────────────────────╯
[SERVER]
[SERVER] INFO Using import string api.main:app
[SERVER]
[SERVER] ╭─────────── FastAPI CLI - Production mode ───────────╮
[SERVER] │ │
[SERVER] │ Serving at: http://0.0.0.0:3001 │
[SERVER] │ │
[SERVER] │ API docs: http://0.0.0.0:3001/docs │
[SERVER] │ │
[SERVER] │ Running in production mode, for development use: │
[SERVER] │ │
[SERVER] │ fastapi dev │
[SERVER] │ │
[SERVER] ╰─────────────────────────────────────────────────────╯
[SERVER]
[SERVER] INFO: Started server process [17]
[SERVER] INFO: Waiting for application startup.
[SERVER] INFO: Application startup complete.
[SERVER] INFO: Uvicorn running on http://0.0.0.0:3001 (Press CTRL+C to quit)
[AUTO-UPDATER] INFO: Auto updater is disabled
[AUTO-UPDATER] NODE_ENV=production sleep 5 && python -m src.app.api.auto_updater exited with code 0
Hey, so this is my compose:
And this is the container-log:
docking-station-server.log docking-station-autoupdater.log
The only obvious thing seems to be that the web service wants to listen to ipv6 (only?) instead of ipv4.
Thanks for having a look! :)