Skip to content

Commit ea652e9

Browse files
committed
fix #345 let nextcloud install create the postgres database
1 parent 3770bbc commit ea652e9

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.examples/docker-compose/insecure/postgres/apache/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ services:
44
db:
55
image: postgres
66
restart: always
7+
environment:
8+
- POSTGRES_DATABASE=not_used
79
volumes:
810
- db:/var/lib/postgresql/data
911
env_file:

.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ services:
44
db:
55
image: postgres
66
restart: always
7+
environment:
8+
- POSTGRES_DATABASE=not_used
79
volumes:
810
- db:/var/lib/postgresql/data
911
env_file:

.examples/docker-compose/with-nginx-proxy/postgres/apache/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ version: '3'
33
services:
44
db:
55
image: postgres
6-
restart: always
6+
restart: always
7+
environment:
8+
- POSTGRES_DATABASE=not_used
79
volumes:
810
- db:/var/lib/postgresql/data
911
env_file:

.examples/docker-compose/with-nginx-proxy/postgres/fpm/docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ version: '3'
33
services:
44
db:
55
image: postgres
6-
restart: always
6+
restart: always
7+
environment:
8+
- POSTGRES_DATABASE=not_used
79
volumes:
810
- db:/var/lib/postgresql/data
911
env_file:

0 commit comments

Comments
 (0)