Testing different data location

This is to try and get around a possible permissions issue
This commit is contained in:
WilliamMiceli
2018-12-17 22:20:26 -05:00
parent 57f5a718d5
commit 2e39193ea5

View File

@@ -52,6 +52,7 @@ services:
- 1.1.1.1
- 1.0.0.1
environment:
PGDATA: /postgresql/data
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
POSTGRES_DB: xwiki
POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS}
@@ -70,7 +71,7 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattle/${DATA_DIR}/Database:/var/lib/postgresql/data
- /RancherCattle/${DATA_DIR}/Database:/postgresql/data
networks:
db-admin: