mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 21:59:12 +00:00
Prefixed the env variables to avoid naming collisions
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
MYSQL_URL=user:password@tcp(localhost)/dbname
|
||||
|
||||
API_LISTEN_IP=localhost
|
||||
API_LISTEN_PORT=4001
|
||||
PHOTOVIEW_LISTEN_IP=localhost
|
||||
PHOTOVIEW_LISTEN_PORT=4001
|
||||
|
||||
# The url from which the server can be accessed publicly
|
||||
API_ENDPOINT=http://localhost:4001/
|
||||
UI_ENDPOINT=http://localhost:1234/
|
||||
PHOTOVIEW_API_ENDPOINT=http://localhost:4001/
|
||||
PHOTOVIEW_UI_ENDPOINT=http://localhost:1234/
|
||||
|
||||
# Set to 1 for the server to also serve the built static ui files
|
||||
SERVE_UI=0
|
||||
# When SERVE_UI is 1, PUBLIC_ENDPOINT is used instead of API_ENDPOINT and UI_ENDPOINT
|
||||
#PUBLIC_ENDPOINT=http://localhost:4001/
|
||||
PHOTOVIEW_SERVE_UI=0
|
||||
# When PHOTOVIEW_SERVE_UI is 1, PHOTOVIEW_PUBLIC_ENDPOINT is used instead of PHOTOVIEW_API_ENDPOINT and PHOTOVIEW_UI_ENDPOINT
|
||||
#PHOTOVIEW_PUBLIC_ENDPOINT=http://localhost:4001/
|
||||
|
||||
# Enter a valid mapbox token, to enable maps feature
|
||||
# A token can be created for free at https://mapbox.com
|
||||
@@ -20,4 +20,4 @@ SERVE_UI=0
|
||||
|
||||
# Set to 1 to set server in development mode, this enables graphql playground
|
||||
# Remove this if running in production
|
||||
DEVELOPMENT=1
|
||||
PHOTOVIEW_DEVELOPMENT_MODE=1
|
||||
|
||||
Reference in New Issue
Block a user