20 lines
583 B
Bash
20 lines
583 B
Bash
# Copy this file to .env
|
|
|
|
MYSQL_URL=user:password@tcp(localhost)/dbname
|
|
|
|
API_LISTEN_IP=localhost
|
|
API_LISTEN_PORT=4001
|
|
|
|
# The url from which the server can be accessed publicly
|
|
API_ENDPOINT=http://localhost:4001/
|
|
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/
|
|
|
|
# Set to 1 to set server in development mode, this enables graphql playground
|
|
# Remove this if running in production
|
|
DEVELOPMENT=1
|