16 lines
586 B
YAML
16 lines
586 B
YAML
|
services:
|
||
|
template:
|
||
|
container_name: template
|
||
|
image: git.bigun.dev/evan/template:stable
|
||
|
ports:
|
||
|
- 80:5000 # API
|
||
|
- 9200:9200 # Prometheus
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /etc/localtime:/etc/localtime
|
||
|
- ./database:/template/instance
|
||
|
environment:
|
||
|
- DEBUG=FALSE # Enables debug route and Flask's debug mode
|
||
|
- SECRET_KEY="" # Should be a long random value, randomly regenerated every launch if not specified
|
||
|
- SECURE=FALSE # Set to True when using HTTPS
|