services: may: image: ghcr.io/dannymcc/may:latest # To build locally instead, comment out 'image' above and uncomment: # build: . container_name: may restart: unless-stopped ports: - "5050:5050" volumes: - may_data:/app/data environment: - SECRET_KEY=${SECRET_KEY:-change-me-in-production} - DATABASE_URL=sqlite:////app/data/may.db - UPLOAD_FOLDER=/app/data/uploads # Optional: run the container as a specific host user/group so bind-mounted # data is owned correctly (linuxserver.io convention; default 1000:1000). # On Unraid, set these to 99 and 100. - PUID=${PUID:-1000} - PGID=${PGID:-1000} # Optional: set a fixed admin password (default is auto-generated and shown in logs) # - ADMIN_PASSWORD=your-secure-password volumes: may_data: