mirror of
https://github.com/trailbaseio/trailbase.git
synced 2025-12-16 15:15:51 -06:00
18 lines
663 B
YAML
18 lines
663 B
YAML
services:
|
|
|
|
trail:
|
|
image: docker.io/trailbase/trailbase:latest
|
|
ports:
|
|
- "${PORT:-4000}:4000"
|
|
restart: unless-stopped
|
|
volumes:
|
|
# NOTE: Docker compose will automatically create missing directories with
|
|
# "root" ownership. However, the TrailBase image drops root privileges.
|
|
# You therefore need to ensure that a `traildepot` folder with the
|
|
# appropriate permissions exist. Otherwise, you'll see "PermissionDenied"
|
|
# errors in the logs.
|
|
- ${DATA_DIR:-.}/traildepot:/app/traildepot
|
|
environment:
|
|
RUST_BACKTRACE: "1"
|
|
# command: "/app/trail --data-dir /app/traildepot run --address 0.0.0.0:4000"
|