This commit is contained in:
Mateusz Gruszczyński
2026-07-20 15:59:15 +02:00
parent 771494671b
commit dfa0828c38
42 changed files with 964 additions and 755 deletions
+5 -6
View File
@@ -8,15 +8,14 @@ services:
environment:
APP_HOST: ${APP_HOST:-0.0.0.0}
APP_PORT: ${APP_PORT:-3000}
DATABASE_URL: ${DATABASE_URL:-sqlite:///data/rustpad.db?mode=rwc}
DATABASE_URL: ${DATABASE_URL:-sqlite:///data/db/rustpad.db?mode=rwc}
DATABASE_MAX_CONNECTIONS: ${DATABASE_MAX_CONNECTIONS:-8}
STATIC_DIR: ${STATIC_DIR:-/app/static}
ASSET_VERSION: ${ASSET_VERSION:-0.0.1}
FILES_DIR: ${FILES_DIR:-/data/files}
UPLOAD_MAX_SIZE_MB: ${UPLOAD_MAX_SIZE_MB:-20}
ASSET_VERSION: ${ASSET_VERSION:-dev}
RUST_LOG: ${RUST_LOG:-rustpad=info,tower_http=info}
ports:
- "${RUSTPAD_PORT:-3000}:${APP_PORT:-3000}"
volumes:
- rustpad_data:/data
volumes:
rustpad_data:
- ./data:/data