|
@@ -8,6 +8,8 @@ services:
|
|
db:
|
|
db:
|
|
image: postgres:10-alpine
|
|
image: postgres:10-alpine
|
|
restart: unless-stopped
|
|
restart: unless-stopped
|
|
|
|
+ environment:
|
|
|
|
+ - POSTGRES_DB=workaround # nextcloud wants to create the db itself
|
|
env_file:
|
|
env_file:
|
|
- .env
|
|
- .env
|
|
volumes:
|
|
volumes:
|
|
@@ -16,6 +18,8 @@ services:
|
|
app:
|
|
app:
|
|
image: nextcloud:fpm-alpine
|
|
image: nextcloud:fpm-alpine
|
|
restart: unless-stopped
|
|
restart: unless-stopped
|
|
|
|
+ environment:
|
|
|
|
+ - POSTGRES_DB=nextcloud
|
|
env_file:
|
|
env_file:
|
|
- .env
|
|
- .env
|
|
volumes:
|
|
volumes:
|