-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1620 from ucfopen/issue/1616-run-first-script-upd…
…ates-part-two First-time setup and dev docker compose config overhaul
- Loading branch information
Showing
17 changed files
with
1,000 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
## docker/.env contains environment variables used by Materia during local development | ||
## we do not recommend making edits directly to this file. Instead, make a .env.local in the same directory (docker/) and override the values below as desired. | ||
## This env file contains environment variable configurations for development and nondev (but NOT production!) | ||
## Instead of editing these values directly, use .env.local for overrides | ||
|
||
## In a production environment, a final .env file should not include any of the dev defaults for unique keys: | ||
## AUTH_SALT | ||
## AUTH_SIMPLEAUTH_SALT | ||
## CIPHER_KEY | ||
## LTI_KEY | ||
## LTI_SECRET | ||
|
||
## use the .env file in the root directory as a template for a production .env. Your compose file(s) will need to be updated accordingly. | ||
|
||
# fuel environment | ||
# the run_first_for_nondev script will automatically override this to production | ||
FUEL_ENV=development | ||
|
||
# general configurations | ||
SYSTEM_EMAIL=[email protected] | ||
|
||
# theming | ||
THEME_PACKAGE=materia-theme-ucf | ||
|
||
# database settings | ||
MYSQL_ROOT_PASSWORD=drRoots | ||
MYSQL_USER=materia | ||
MYSQL_PASSWORD=odin | ||
MYSQL_DATABASE=materia | ||
DATABASE_URL=mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@mysql/${MYSQL_DATABASE} | ||
|
||
# passwords/hashes/keys | ||
DEV_ONLY_USER_PASSWORD=kogneato | ||
|
@@ -14,10 +34,34 @@ DEV_ONLY_AUTH_SALT=111b776e5f862058e2e075b640b3de5fb601d0ac57639c733a2d10edffd2a | |
DEV_ONLY_AUTH_SIMPLEAUTH_SALT=33e0d379060e3877d634632853c10a70dff9710b751e5af00a0f637884df417e | ||
DEV_ONLY_SECRET_CIPHER_KEY=e0beaea1704555ae3c75650703bb106fac24b8967c77a667124fbe745c3346ed | ||
|
||
# s3-specific asset storage values | ||
# auth | ||
AUTH_DRIVERS=Materiaauth | ||
|
||
# caching | ||
CACHE_DRIVER=memcached | ||
MEMCACHED_HOST=memcached | ||
|
||
# overrides default value in the base .env (which isn't loaded into dev environment) | ||
# logging | ||
FUEL_LOG_THRESHOLD=100 | ||
LOG_HANDLER=STDOUT | ||
BOOL_LTI_LOG_FOR_DEBUGGING=true | ||
|
||
# lti config | ||
LTI_KEY=materia-lti-key | ||
LTI_SECRET=materia-lti-secret | ||
|
||
# session | ||
SESSION_DRIVER=memcached | ||
|
||
# urls | ||
URLS_ENGINES=https://localhost:8008/widget/ | ||
URLS_STATIC=https://localhost:8008/ | ||
|
||
# asset storage | ||
ASSET_STORAGE_DRIVER=s3 | ||
|
||
# s3-specific asset storage values | ||
|
||
# provider must be one of the following: env | imds | ||
ASSET_STORAGE_S3_CREDENTIAL_PROVIDER=env | ||
ASSET_STORAGE_S3_BUCKET=fake_bucket | ||
|
Oops, something went wrong.