|
@@ -0,0 +1,17 @@
|
|
|
+cmd: /usr/local/src/photoview/api/api
|
|
|
+cwd: /usr/local/src/photoview/api
|
|
|
+env:
|
|
|
+ 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: "{{mabox_api_key}}""
|
|
|
+ PHOTOVIEW_DEVELOPMENT_MODE: 0
|
|
|
+log:
|
|
|
+ file: /var/log/photoview.log
|
|
|
+ age: 86400 # log 1 day
|
|
|
+ num: 7 # keep 7 files
|
|
|
+ size: 1 # size of file 1MB
|
|
|
+wait: 1
|