- New CANON_HOST (default 0.0.0.0; 127.0.0.1 keeps it on one machine) - On start, log the http:// addresses other devices can use, skipping Docker/VM bridge interfaces - docker-compose publishes 0.0.0.0:4242 explicitly - README: opening Canon from other devices and firewall note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
422 B
YAML
21 lines
422 B
YAML
name: canon
|
|
|
|
services:
|
|
canon:
|
|
build: .
|
|
image: canon:latest
|
|
container_name: canon
|
|
restart: unless-stopped
|
|
ports:
|
|
# 0.0.0.0 makes Canon reachable from other devices on your network.
|
|
# Use "127.0.0.1:4242:4242" to keep it on this machine only.
|
|
- "0.0.0.0:4242:4242"
|
|
volumes:
|
|
- canon-data:/data
|
|
env_file:
|
|
- path: .env
|
|
required: false
|
|
|
|
volumes:
|
|
canon-data:
|