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/db/rustpad.db?mode=rwc} DATABASE_MAX_CONNECTIONS: ${DATABASE_MAX_CONNECTIONS:-8} STATIC_DIR: ${STATIC_DIR:-/app/static} 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: - ./data:/data