x-op-app-environment: &x-op-app-environment
environment:
PWP__ENABLE_LOGINS: true
PWP__ENABLE_FILE_PUSHES: true
PWP__FILES__STORAGE: local
PWP__ENABLE_QR_PUSHES: true
PWP__ENABLE_URL_PUSHES: true
services:
pwpush:
image: docker.io/pglombardo/pwpush:stable
restart: unless-stopped
ports:
- "80:80"
- "443:443"
# - Port 5100: Internal application port (exposed but typically not mapped to host)
volumes:
- pwpush-storage:/opt/PasswordPusher/storage # Store SQLite3 database and file uploads on a persistent volume
# Health check to monitor service status
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5100/up"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
<<: *x-op-app-environment
volumes:
pwpush-storage: # SQLite3 database and file uploads - persists uploaded files pushed through the application