You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/09/02 10:02:46 UTC

[syncope] 01/02: Switching to official postgresql image

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit abbfa110f46b5d0634320bfb923ed3721208804c
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Sep 2 11:53:17 2019 +0200

    Switching to official postgresql image
---
 .../docker-compose/docker-compose-postgresql.yml         | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml b/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml
index 1bb5495..9099864 100644
--- a/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml
+++ b/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml
@@ -21,18 +21,14 @@ version: '3.3'
 
 services:
    db:
-     image: crunchydata/crunchy-postgres:centos7-10.5-2.1.0
+     image: postgres:10.10
      restart: always
      environment:
-       PG_ROOT_PASSWORD: postgres
-       PG_MODE: primary
-       PG_PRIMARY_USER: postgres
-       PG_PRIMARY_PASSWORD: postgres
-       PG_PRIMARY_HOST: localhost
-       PG_PRIMARY_PORT: 5432
-       PG_DATABASE: syncope
-       PG_USER: syncope
-       PG_PASSWORD: syncope
+       POSTGRES_DB: syncope
+       POSTGRES_USER: syncope
+       POSTGRES_PASSWORD: syncope
+     ports:
+       - "5432:5432"
 
    syncope:
      depends_on: