mirror of
https://github.com/trailbaseio/trailbase.git
synced 2025-12-16 15:15:51 -06:00
Update docker-compose.yml and move it to the root to make it more discoverable.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
services:
|
||||
|
||||
trail:
|
||||
image: docker.io/trailbase/trailbase:latest
|
||||
# build: .
|
||||
ports:
|
||||
- "${PORT:-4000}:4000"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${DATA_DIR:-.}/traildepot:/app/traildepot
|
||||
environment:
|
||||
# Override the default env-logger.
|
||||
# RUST_LOG: "info,refinery_core=warn"
|
||||
RUST_BACKTRACE: "1"
|
||||
command: "/app/trail --data-dir /app/traildepot run --address 0.0.0.0:4000"
|
||||
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user