Initial commit: Parking Manager
Features: - Manager-centric parking spot management - Fair assignment algorithm (parking/presence ratio) - Presence tracking calendar - Closing days (specific & weekly recurring) - Guarantees and exclusions - Authelia/LLDAP integration for SSO Stack: - FastAPI backend - SQLite database - Vanilla JS frontend - Docker deployment
This commit is contained in:
32
deploy/compose.production.yml
Normal file
32
deploy/compose.production.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
# Production compose file for org-stack integration
|
||||
# This will be added to ~/org-stack/compose.yml on the server
|
||||
|
||||
services:
|
||||
parking:
|
||||
build: ./parking
|
||||
container_name: parking
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- parking_data:/app/data
|
||||
environment:
|
||||
- SECRET_KEY=${PARKING_SECRET_KEY}
|
||||
- DATABASE_PATH=/app/data/parking.db
|
||||
- AUTHELIA_ENABLED=true
|
||||
- ALLOWED_ORIGINS=https://parking.rocketscale.it
|
||||
# SMTP (shared with other services)
|
||||
- SMTP_HOST=${SMTP_HOST:-}
|
||||
- SMTP_PORT=${SMTP_PORT:-587}
|
||||
- SMTP_USER=${SMTP_USER:-}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD:-}
|
||||
- SMTP_FROM=${SMTP_FROM:-}
|
||||
networks:
|
||||
- org-network
|
||||
depends_on:
|
||||
- authelia
|
||||
|
||||
volumes:
|
||||
parking_data:
|
||||
|
||||
networks:
|
||||
org-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user