Fix MR649 threads about env.template, pg port

This commit is contained in:
prichier 2020-10-27 19:09:10 +01:00
parent ec1e490f39
commit 5ddc9929f0
3 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ You will need to :
## Update the env file ## Update the env file
cd docker/production/ cd docker/production/
cp env.example .env cp env.template .env
Edit the `.env` content with your own settings. Edit the `.env` content with your own settings.
More settings can be added in .env, see all in docker-compose.yml file. More settings can be added in .env, see all in docker-compose.yml file.

View File

@ -28,7 +28,7 @@ config :mobilizon, Mobilizon.Storage.Repo,
password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "password"), password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "password"),
database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon"), database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon"),
hostname: System.get_env("MOBILIZON_DATABASE_HOST", "postgres"), hostname: System.get_env("MOBILIZON_DATABASE_HOST", "postgres"),
port: "5432", port: 5432,
pool_size: 10 pool_size: 10
config :mobilizon, Mobilizon.Web.Email.Mailer, config :mobilizon, Mobilizon.Web.Email.Mailer,