Moving postgres config to a file

This commit is contained in:
Jesús Espino
2020-01-22 12:24:57 +01:00
parent 6620812b3b
commit ffe6ca804d
4 changed files with 6 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ services:
POSTGRES_USER: mmuser
POSTGRES_PASSWORD: mostest
POSTGRES_DB: mattermost_test
command: postgres -c 'config_file=/etc/postgresql/postgresql.conf'
volumes:
- "./docker/postgres.conf:/etc/postgresql/postgresql.conf"
minio:
image: "minio/minio:RELEASE.2019-10-11T00-38-09Z"
command: "server /data"

View File

@@ -12,7 +12,6 @@ services:
file: docker-compose.common.yml
service: postgres
tmpfs: /var/lib/postgresql/data
command: postgres -c 'fsync=off' -c 'full_page_writes=off'
minio:
extends:
file: docker-compose.common.yml

View File

@@ -0,0 +1,3 @@
listen_addresses = '*'
fsync = off
full_page_writes = off

View File

@@ -14,7 +14,6 @@ services:
extends:
file: build/docker-compose.common.yml
service: postgres
command: postgres -c 'fsync=off' -c 'full_page_writes=off'
minio:
container_name: mattermost-minio
ports: