mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-10 17:12:48 +00:00
added docker support
This commit is contained in:
@@ -9,14 +9,14 @@ use Mix.Config
|
||||
# kept out of version control and might be hard to recover
|
||||
# or recreate for your teammates (or yourself later on).
|
||||
config :myapp, MyAppWeb.Endpoint,
|
||||
secret_key_base: "TODO:"
|
||||
secret_key_base: "${SECRET_KEY_BASE}"
|
||||
|
||||
# Configure your database
|
||||
config :myapp, MyApp.Repo,
|
||||
adapter: Ecto.Adapters.Postgres,
|
||||
hostnamae: "localhost",
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "${DB_HOST}",
|
||||
username: "${DB_USER}",
|
||||
password: "${DB_PASS}",
|
||||
database: "myapp_prod",
|
||||
template: "template0",
|
||||
pool_size: 15
|
||||
@@ -24,20 +24,20 @@ config :myapp, MyApp.Repo,
|
||||
# Secret key. You can use `mix guardian.gen.secret` to get one
|
||||
config :myapp, MyApp.Guardian,
|
||||
issuer: "myapp",
|
||||
secret_key: "TODO:"
|
||||
secret_key: "${GUARDIAN_SECRET}"
|
||||
|
||||
config :myapp,
|
||||
bnet_client_id: "",
|
||||
bnet_client_secret: "",
|
||||
bnet_redirect_uri: "",
|
||||
bnet_client_id: "${BNET_CLIENT_ID}",
|
||||
bnet_client_secret: "${BNET_CLIENT_SECRET}",
|
||||
bnet_redirect_uri: "${BNET_REDIRECT_URI}",
|
||||
|
||||
# admin login credentials for site
|
||||
admin_accounts: [
|
||||
%{
|
||||
"username" => "",
|
||||
"password" => "",
|
||||
"character_name" => "",
|
||||
"character_avatar" => "",
|
||||
"permissions" => ""
|
||||
"username" => "${ADMIN_USERNAME}",
|
||||
"password" => "${ADMIN_PASSWORD}",
|
||||
"character_name" => "${ADMIN_CHAR_NAME}",
|
||||
"character_avatar" => "${ADMIN_CHAR_AVATAR}",
|
||||
"permissions" => "${ADMIN_PERMISSIONS}"
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user