forked from dannymcc/may
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (24 loc) · 849 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
25 lines (24 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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: