steward_mirror/docker-compose.yml

15 lines
558 B
YAML

services:
steward:
image: ghcr.io/djw4/steward:latest
# To build locally instead: uncomment the next line and comment out image above
# build: .
user: "1000:1000" # matches the UID/GID created in the Dockerfile
env_file: .env # copy .env.example → .env and fill in your values
environment:
THREAD_MEMORY_PATH: /data/thread_memory.json
volumes:
# Bind-mount a local ./data directory for persistent storage.
# Create it before the first run: mkdir -p data
- ./data:/data
restart: unless-stopped