18 lines
887 B
YAML
18 lines
887 B
YAML
services:
|
|
AtmoAssistant:
|
|
container_name: AtmoAssistant
|
|
image: git.bigun.dev/evan/atmoassistant:stable
|
|
ports:
|
|
- 80:5000 # API
|
|
- 9200:9200 # Prometheus
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- ./database:/AtmoAssistant/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
|
|
- OWM_API_KEY= # API key from OpenWeatherMap (One Call 3.0 and Geocoding)
|
|
- OWM_UNITS= # Units for OpenWeatherMap (Standard, Metric, Imperial)
|
|
- AUTHORIZED_CALLERS= # Comma seperated list of authorized phone numbers, eg +13365550916,+13365553721
|