Testing different data location
This is to try and get around a possible permissions issue
This commit is contained in:
@@ -52,6 +52,7 @@ services:
|
|||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
environment:
|
environment:
|
||||||
|
PGDATA: /postgresql/data
|
||||||
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
|
POSTGRES_INITDB_ARGS: "--encoding=UTF8"
|
||||||
POSTGRES_DB: xwiki
|
POSTGRES_DB: xwiki
|
||||||
POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS}
|
||||||
@@ -70,7 +71,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /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
|
- /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:
|
networks:
|
||||||
db-admin:
|
db-admin:
|
||||||
|
|||||||
Reference in New Issue
Block a user