Merge pull request #181 from Shegox/docker-compose-postgres
auto init postgres in docker-compose and fix docker-compose postgres settings
This commit is contained in:
Коммит
a3f5996d76
|
@ -1,8 +1,10 @@
|
|||
GITHUB_ORGANIZATIONS_FILE=../../env-orgs.json
|
||||
REPOS_LINKS_PROVIDER_NAME=postgres
|
||||
REPOS_POSTGRES_HOST=portal-db
|
||||
REPOS_POSTGRES_DATABASE=portal-repos
|
||||
REPOS_POSTGRES_USER=portal
|
||||
REPOS_POSTGRES_PASSWORD=latrop
|
||||
REPOS_POSTGRES_SSL=false
|
||||
REDIS_KEY=
|
||||
REDIS_PREFIX=portal
|
||||
REDIS_HOST=portal-cache
|
||||
|
|
|
@ -29,10 +29,11 @@ services:
|
|||
- portal
|
||||
volumes:
|
||||
- portal_postgres_data:/var/lib/postgresql/data
|
||||
- ./pg.sql:/docker-entrypoint-initdb.d/pg.sql
|
||||
environment:
|
||||
POSTGRES_DB: portal-repos
|
||||
POSTGRES_USER: portal
|
||||
POSTGRES_PWD: latrop
|
||||
POSTGRES_PASSWORD: latrop
|
||||
|
||||
networks:
|
||||
portal:
|
||||
|
|
Загрузка…
Ссылка в новой задаче