Skip to content

Commit 4df6f79

Browse files
tilospJ0WI
authored andcommitted
Allow nextcloud to create the postgres db (nextcloud#784)
Signed-off-by: Tilo Spannagel <development@tilosp.de>
1 parent 1000d4d commit 4df6f79

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
POSTGRES_PASSWORD=
2-
POSTGRES_DB=nextcloud
3-
POSTGRES_USER=nextcloud
2+
POSTGRES_USER=postgres

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818
- nextcloud:/var/www/html
1919
environment:
2020
- POSTGRES_HOST=db
21+
- POSTGRES_DB=nextcloud
2122
env_file:
2223
- db.env
2324
depends_on:
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
POSTGRES_PASSWORD=
2-
POSTGRES_DB=nextcloud
3-
POSTGRES_USER=nextcloud
2+
POSTGRES_USER=postgres

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- nextcloud:/var/www/html
1717
environment:
1818
- POSTGRES_HOST=db
19+
- POSTGRES_DB=nextcloud
1920
env_file:
2021
- db.env
2122
depends_on:
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
POSTGRES_PASSWORD=
2-
POSTGRES_DB=nextcloud
3-
POSTGRES_USER=nextcloud
2+
POSTGRES_USER=postgres

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ services:
1919
- LETSENCRYPT_HOST=
2020
- LETSENCRYPT_EMAIL=
2121
- POSTGRES_HOST=db
22+
- POSTGRES_DB=nextcloud
2223
env_file:
2324
- db.env
2425
depends_on:
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
POSTGRES_PASSWORD=
2-
POSTGRES_DB=nextcloud
3-
POSTGRES_USER=nextcloud
2+
POSTGRES_USER=postgres

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- nextcloud:/var/www/html
1717
environment:
1818
- POSTGRES_HOST=db
19+
- POSTGRES_DB=nextcloud
1920
env_file:
2021
- db.env
2122
depends_on:

0 commit comments

Comments
 (0)