crafting-table/compose.yml

43 lines
1.2 KiB
YAML

# crafting-table v0.1 — wave 1 compose (steps 2+3+4 wired in).
#
# Default `command` is the API server. To run the per-language smoke after
# a rebuild, do:
# docker compose run --rm crafting-table /usr/local/bin/smoke.sh
#
# Volumes mount real Lucy appdata paths so /data + /workspace + /caches
# survive container recreation. Port is bound to LAN only — no Rackham
# proxy.
name: crafting-table
services:
crafting-table:
build: .
image: crafting-table:local
container_name: crafting-table
command:
- uvicorn
- crafting_table.server:app
- --host
- "0.0.0.0"
- --port
- "8810"
user: crafter
working_dir: /home/crafter
# env_file is optional; copy .env.example to .env to override defaults.
env_file:
- path: .env
required: false
- path: /mnt/cache/appdata/secrets/crafting-table.env
required: false
ports:
- "192.168.0.5:8810:8810"
volumes:
- /mnt/user/appdata/crafting-table/data:/data
- /mnt/user/appdata/crafting-table/workspace:/workspace
- /mnt/user/appdata/crafting-table/caches:/caches
networks: [sulkta]
restart: unless-stopped
networks:
sulkta:
external: true