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: