mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-30 11:22:14 +00:00
Update run-opensim.sh to load os-secrets for DB initialization. Rename OS_BRANCH to OS_GIT_BRANCH Rename OS_REPO to OS_GIT_REPO Eliminate OPENSIM_USER and OPENSIM_USER_PASSWORD from os-secrets as they are not used.
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
# File of secrets for the build and run images.
|
|
# This file is a template of the values to use.
|
|
# NEVER, NEVER EVER CHECK-IN the version with the real values!!
|
|
|
|
# The configuration files look for the file 'os-secrets.crypt' and, when
|
|
# found, runs 'ccrypt' using the password from the environment variable
|
|
# "OPENSIM_CONFIGKEY". So, edit this file and do:
|
|
# cp os-secrets tempFile
|
|
# <edit 'tempFile' adding real passwords>
|
|
# ccrypt -e -E "OPENSIM_CONFIGKEY" < tempFile > os-secrets.crypt
|
|
# rm tempFile
|
|
# or (exposing the key in the bash history):
|
|
# ccrypt -e -K thekey < os-secrets > os-secrets.crypt
|
|
#
|
|
# Later, if you need to review the passwords, decrypt the file with:
|
|
# ccrypt -d -E "OPENSIM_CONFIGKEY" < os-secrets.crypt
|
|
|
|
# If this next variable is defined, MYSQL is configured
|
|
export MYSQL_ROOT_PASSWORD=unknownStuff
|
|
export MARIADB_ROOT_PASSWORD=unknownStuff
|
|
export MYSQL_DB_HOST=dbservice
|
|
export MYSQL_DB_DB=opensim
|
|
export MYSQL_DB_USER=opensim
|
|
export MYSQL_DB_USER_PW=moreUnknownStuff
|
|
|
|
# The following are used to initialize estate if running standalone
|
|
export DEFAULT_ESTATE_NAME="MyEstate"
|
|
export DEFAULT_ESTATE_OWNER="Donald Duck"
|
|
export DEFAULT_ESTATE_OWNER_UUID=ff5ec374-8028-43cb-ae58-8d38d70729e5
|
|
export DEFAULT_ESTATE_OWNER_PW=SomeSecret
|
|
|
|
# These are values that should be in other configurtion files.
|
|
# Someday, there might be a system that inserts these parameters into files.
|
|
# For the moment, the per-installation parameters must be editted by hand.
|
|
# Host name that is advertized to a client. Set in Includes.ini and Region.ini
|
|
export EXTERNAL_HOSTNAME=127.0.0.1
|
|
|
|
# Did I mention that one should NEVER, NEVER, EVER check-in a version
|
|
# with the real passwords in it?
|
|
|