[nextcloud] Add restart
This commit is contained in:
parent
3b632b77d5
commit
4aca54860d
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ version: '3.2'
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:${postgres_version:-14}
|
image: postgres:${postgres_version:-14}
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=nextcloud
|
- POSTGRES_DB=nextcloud
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
|
@ -14,6 +15,7 @@ services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:${nextcloud_version:-latest}
|
image: nextcloud:${nextcloud_version:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /media/nextcloud/nextcloud_data:/var/www/html/data
|
- /media/nextcloud/nextcloud_data:/var/www/html/data
|
||||||
- /media/nextcloud/nextcloud_config:/var/www/html/config
|
- /media/nextcloud/nextcloud_config:/var/www/html/config
|
||||||
|
|
Loading…
Reference in a new issue