From 4a737bfe5ae219b9b0bb1ff0e7ecedbd16d492ac Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Mon, 17 Dec 2018 22:51:56 -0500 Subject: [PATCH] Found workaround for PostgreSQL issue --- templates/XWiki/0/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/XWiki/0/docker-compose.yml b/templates/XWiki/0/docker-compose.yml index 86254f0..0f8a3ce 100644 --- a/templates/XWiki/0/docker-compose.yml +++ b/templates/XWiki/0/docker-compose.yml @@ -46,13 +46,13 @@ services: - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - /RancherCattle/${DATA_DIR}/Application:/usr/local/xwiki postgresql: - image: postgres:latest + image: postgres:alpine container_name: postgresql dns: - 1.1.1.1 - 1.0.0.1 environment: - # POSTGRES_INITDB_ARGS: "--encoding=UTF8" + POSTGRES_INITDB_ARGS: "--encoding=UTF8" POSTGRES_DB: xwiki POSTGRES_ROOT_PASSWORD: ${DB_ROOT_PASS} POSTGRES_USER: xwiki_user @@ -71,7 +71,7 @@ services: - /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}/Temp:/var/run/postgresql + - /RancherCattle/${DATA_DIR}/Temp:/var/run/postgresql # Band-aid for PostgreSQL issue of being "out of space" networks: db-admin: