# 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
MARIADB_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"
