first commit

This commit is contained in:
Mateusz Gruszczyński
2026-07-17 15:29:08 +02:00
commit 771494671b
35 changed files with 5020 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
rustpad:
build:
context: .
dockerfile: Dockerfile
image: rustpad:${IMAGE_TAG:-local}
restart: unless-stopped
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_MAX_CONNECTIONS: ${DATABASE_MAX_CONNECTIONS:-8}
STATIC_DIR: ${STATIC_DIR:-/app/static}
ASSET_VERSION: ${ASSET_VERSION:-0.0.1}
RUST_LOG: ${RUST_LOG:-rustpad=info,tower_http=info}
ports:
- "${RUSTPAD_PORT:-3000}:${APP_PORT:-3000}"
volumes:
- rustpad_data:/data
volumes:
rustpad_data: