mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Moving postgres config to a file
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
3
build/docker/postgres.conf
Normal file
3
build/docker/postgres.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
listen_addresses = '*'
|
||||
fsync = off
|
||||
full_page_writes = off
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user