diff --git a/docker-compose-javaworker.yml b/docker-compose-javaworker.yml index 6d20494..544865b 100644 --- a/docker-compose-javaworker.yml +++ b/docker-compose-javaworker.yml @@ -41,6 +41,9 @@ services: db: image: postgres:9.4 container_name: db + environment: + POSTGRES_USER: "postgres" + POSTGRES_PASSWORD: "postgres" volumes: - "db-data:/var/lib/postgresql/data" networks: diff --git a/docker-compose-k8s.yml b/docker-compose-k8s.yml index 5a65415..4789742 100644 --- a/docker-compose-k8s.yml +++ b/docker-compose-k8s.yml @@ -7,6 +7,9 @@ services: - "6379:6379" db: image: postgres:9.4 + environment: + POSTGRES_USER: "postgres" + POSTGRES_PASSWORD: "postgres" ports: - "5432:5432" vote: diff --git a/docker-compose-simple.yml b/docker-compose-simple.yml index 5834881..f8454ef 100644 --- a/docker-compose-simple.yml +++ b/docker-compose-simple.yml @@ -18,6 +18,9 @@ services: db: image: postgres:9.4 + environment: + POSTGRES_USER: "postgres" + POSTGRES_PASSWORD: "postgres" result: build: ./result