[program:photoview]
environment=PHOTOVIEW_DATABASE_DRIVER=postgres,PHOTOVIEW_POSTGRES_URL='postgres://photoview:{{photoview_db_pass}}@db.service:5432/photoview',PHOTOVIEW_LISTEN_IP=0.0.0.0,PHOTOVIEW_LISTEN_PORT=4001,PHOTOVIEW_API_ENDPOINT=https://photos.unbl.ink/api/,PHOTOVIEW_UI_ENDPOINT=https://photos.unbl.ink/,MAPBOX_TOKEN={{mapbox_api_key}},PHOTOVIEW_DEVELOPMENT_MODE=0
command=/usr/local/bin/bash -lc "/usr/local/src/photoview/api/api"
directory=/usr/local/src/photoview/api
autostart=true
autorestart=true
stdout_logfile=/var/log/photoview-api.log
stderr_logfile=/var/log/photoview-api.err.log
stopsignal=QUIT
