-
Notifications
You must be signed in to change notification settings - Fork 24
/
EXAMPLE.env
28 lines (24 loc) · 1.78 KB
/
EXAMPLE.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
# Global variables, these are used for passing configurations into the docker-compose.yml file
DOCKER_NAME=terrareg
DOCKER_BASE_URL=app.localhost
# MySQL configurations
ALLOW_EMPTY_PASSWORD=yes
MARIABD_DATABASE=terrareg
MARIADB_USER=terrareg
MARIADB_PASSWORD=terrareg
# terrareg Configuration
SECRET_KEY=InsertHere # Change This! Generate secret key per the Docs and update this
ADMIN_AUTHENTICATION_TOKEN=admin123 # Change This!
DATABASE_URL=mysql+mysqlconnector://terrareg:terrareg@mysql:3306/terrareg # If you change the MySQL Configuration update this accordingly
MIGRATE_DATABASE=True
ADMIN_SESSION_EXPIRY_MINS=30
ALLOW_MODULE_HOSTING=true
DEBUG=true
GIT_PROVIDER_CONFIG='[{"name": "Github", "base_url": "https://github.com/{namespace}/terraform-{provider}-{module}", "clone_url": "https://github.com/{namespace}/terraform-{provider}-{module}.git", "browse_url": "https://github.com/{namespace}/terraform-{provider}-{module}/tree/{tag}/{path}"}, {"name": "Bitbucket", "base_url": "https://bitbucket.org/{namespace}/terraform-{provider}-{module}", "clone_url": "ssh://git@bitbucket.org/{namespace}/terraform-{provider}-{module}-{provider}.git", "browse_url": "https://bitbucket.org/{namespace}/terraform-{provider}-{module}-{provider}/src/{tag}/{path}"}, {"name": "Gitlab", "base_url": "https://gitlab.com/{namespace}/terraform-{provider}-{module}", "clone_url": "ssh://git@gitlab.com/{namespace}/terraform-{provider}-{module}-{provider}.git", "browse_url": "https://gitlab.com/{namespace}/terraform-{provider}-{module}-{provider}/-/tree/{tag}/{path}"}]'
DOMAIN_NAME=terrareg.app.localhost
# To use minio for S3
AWS_ENDPOINT_URL="http://minio:9000"
AWS_ACCESS_KEY_ID=GA7JXYR4LUFQ23YPMO_MFKLI
AWS_SECRET_ACCESS_KEY="4x5JqXPd-1JOo97CwI0Pr_LBVS-gApjrU7JUNrclkbOXrdYU"
AWS_BUCKET_NAME=terrareg
AWS_REGION="us-east-1"