-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_env_file.env
64 lines (46 loc) · 2.8 KB
/
example_env_file.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# path to the public ssh key that you want to use to connect to server
SSH_PATH="/home/jstet/.ssh/id_rsa.pub"
# Operating system you want the server to run. This project was tested with Ubuntu 20.04.
# Visit https://www.bw-cloud.org/de/bwcloud_scope/images for available options.
OS_IMAGE="Ubuntu 20.04"
# Type of instance you want the script to create. This determines the size/computational power of the instance
# Visit https://www.bw-cloud.org/de/bwcloud_scope/flavors for available options.
OS_FLAVOR="m1.large"
# Name of the server on BW cloud and its hostname. ATTENTION: rules for linux hostname apply (e.g. no _)
SERVER_NAME="server-name"
# Credentials needed to get an authentication token. Either use existing application credentials or create one: https://www.bw-cloud.org/de/bwcloud_scope/nutzen#api_token
OS_ID="naeg906F0"
OS_SECRET="0iug(=ßpß8pß"
# Visit https://portal.bw-cloud.org/project/api_access/ and click "View Credentials"
OS_PROJECT_NAME ="freiburg_projekt_LS_fakename"
OS_PROJECT_ID ="123456677"
OS_AUTH_URL="https://idm02.bw-cloud.org:5000/v3/auth/tokens"
# Name of the BWCloud region the instance should be created in.
# As far as I understand, projects are bound to regions, in the LS Shikano teams case it's bound to Freiburg.
OS_REGION_NAME="Freiburg"
# User that you will use to log in to the server
SERVER_USER="user"
# Password you can use to log in as "admin" in the OTree management GUI.
OTREE_ADMIN_PW="password12345"
# OTree uses PostrgeSQL. To deploy an OTree project it is important to secure the database with a password.
DB_PW="password12345"
# The ansible vault is an encrypted file that contains secret variables used in ansible playbooks, e.g. the DB password.
# The script decrypts this file using a password.
ANSIBLE_VAULT_PW="password12345"
# User the ansible playbook will use the to retrieve the OTree projects code
GIT_USER="fake.name"
# Valid GitHub access token.
# Visit https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
GIT_TOKEN="password12345"
# Github Repo containing the otree code.
# Make sure to not include / at the beginning. Write the name exactly like in this example.
GIT_REPO="LS-Shikano/Repo"
# Optionally specify the domain you want this server to be reached under and want SSL to be set up. If you dont want to set up the server with a domain and only use the bwcloudhostname, set to "false".
DOMAIN="false"
# Mail address to register the ssl certificate with
# see https://eff-certbot.readthedocs.io/en/stable/using.html#certbot-command-line-options for info
CERTBOT_MAIL_ADRESS="[email protected]"
# Leave these unchanged
OS_IMAGE_SERVICE_URL="https://api02.fr.bw-cloud.org:9292"
OS_COMPUTE_SERVICE_URL="https://api02.fr.bw-cloud.org:8774/v2.1"
OS_NETWORK_SERVICE_URL="https://api02.fr.bw-cloud.org:9696"