AtmoAssistant/app/docker-compose.yml
Evan 8ff5626746
Some checks failed
Build image - Testing / build-api-testing (push) Successful in 8s
SonarQube Scan / SonarQube Trigger (push) Failing after 7s
Cache zipcode, weather
2025-01-23 00:25:56 -05:00

19 lines
960 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)
- CACHE_TIME= # Time (in minutes) that weather data is cached
- AUTHORIZED_CALLERS= # Comma seperated list of authorized phone numbers, eg +13365550916,+13365553721