# The database on zeus. # # docker compose up -d bring it up # docker compose logs -f watch it # # The image is built by upgrade.sh from mulan's own binary, not from the # package - see the note in README.md. Compose only runs what that produced. services: smartbotic-db: image: smartbotic-database:current container_name: smartbotic-db restart: unless-stopped # A limit rather than a target. The database's own budget is # storage.memory.max_memory_mb in config.json, currently 8 GB; this is the # wall it cannot go through if that budget is ever wrong. mem_limit: 12g ports: - "9004:9004" volumes: # The encryption key lives inside the data directory. Data and key are # never separated - back them up together, move them together. - /data/smartbotic-db/data:/var/lib/smartbotic-database - /data/smartbotic-db/etc/config.json:/etc/smartbotic-database/config.json:ro