AtmoAssistant/app/docker-compose.yml

20 lines
960 B
YAML
Raw Normal View History

2025-01-20 20:09:02 -05:00
services:
2025-01-20 23:15:24 -05:00
AtmoAssistant:
container_name: AtmoAssistant
2025-01-20 23:45:05 -05:00
image: git.bigun.dev/evan/atmoassistant:stable
2025-01-20 20:09:02 -05:00
ports:
- 80:5000 # API
- 9200:9200 # Prometheus
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime
2025-01-20 23:15:24 -05:00
- ./database:/AtmoAssistant/instance
2025-01-20 20:09:02 -05:00
environment:
- DEBUG=FALSE # Enables debug route and Flask's debug mode
2025-01-20 23:15:24 -05:00
- SECRET_KEY= # Should be a long random value, randomly regenerated every launch if not specified
2025-01-20 20:09:02 -05:00
- SECURE=FALSE # Set to True when using HTTPS
2025-01-20 23:15:24 -05:00
- OWM_API_KEY= # API key from OpenWeatherMap (One Call 3.0 and Geocoding)
2025-01-23 00:25:56 -05:00
- OWM_UNITS= # Units for OpenWeatherMap (Standard, Metric, Imperial)
- CACHE_TIME= # Time (in minutes) that weather data is cached
2025-01-20 23:15:24 -05:00
- AUTHORIZED_CALLERS= # Comma seperated list of authorized phone numbers, eg +13365550916,+13365553721