Files
shields/shields.example.env
Adriaan Groenenboom 15f24fbcce Improve Docker run (envsubst, Alpine, documented env file) (#870)
* Add template for secret.json

- Move to faster and lighter Alpine base image

* Update documentation

* Update documentation

* Fix Github token config for secret.json

* Extend env file for Docker runtime configuration

- Update documentation
- Add gh_token for GH personal access token to secret template

* Change http to https in infoSite

* Update .dockerignore

* Update .gitignore

* Update dockerignore

* Remove ENV directive from Dockerfile

- Environment is needed at runtime, not at buildtime

* Docker: contain secret.json in private/

- Incorporates fix from 7c8b0e3d

* Use localhost in example env

* Use baseUrl in GitHub redirect

* Move GH personal token retrieval up

- To remove duplicate Promise.then()

* Typo in shields.example.env
2017-05-07 11:13:02 -07:00

20 lines
599 B
Bash

# Base URL for redirects etc.
BASE_URL=http://localhost:8080
# Where your homepage is
INFOSITE=http://localhost:8080/try.html
# GitHub settings
GITHUB_URL=https://api.github.com
# Create your GitHub OAuth application here: https://github.com/settings/developers
GH_CLIENT_ID=insert_client_id
GH_CLIENT_SECRET=insert_client_secret
# Create your Personal Access Token here: https://github.com/settings/tokens
GH_TOKEN=insert_token
# Server settings
PORT=80
BIND_ADDRESS=::
# IP address of your Shields server. You may use DNS here instead of IP, but that's less secure
SHIELDS_IP=insert_shields_ip