-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 884 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 884 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
26
27
28
29
30
31
32
33
services:
droidmate:
build: .
container_name: droidmate_app
restart: unless-stopped
ports:
# CHANGE: Bind only to localhost so strictly Nginx manages access
- "127.0.0.1:5000:5000"
environment:
# CHANGE: Use your real domain here
- SERVER_NAME=geniehelper.info
- PREFERRED_URL_SCHEME=https
- HOST=0.0.0.0
- PORT=5000
- ENVIRONMENT=production
- DOCKER_ENABLED=true
# CRITICAL: Generate a strong random key for session security
- SECRET_KEY=Generat3_A_Str0ng_R@ndom_K3y_Here_!!
volumes:
- ./files:/app/files
- ./files.db:/app/files.db
- ./tasks.db:/app/tasks.db
- ./logs:/app/logs
- ./config/default.yaml:/app/config/default.yaml
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
networks:
default:
name: droidmate_net