mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-22 19:38:30 +00:00
.
This commit is contained in:
parent
08276b0e6c
commit
fdbbd8dd16
@ -12,8 +12,9 @@
|
|||||||
|
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
More examplex [here](https://github.com/nextcloud/docker/tree/master/.examples/docker-compose).
|
||||||
```yml
|
```yml
|
||||||
version: '2'
|
---
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
@ -36,7 +37,6 @@ services:
|
|||||||
- REDIS_HOST_PASSWORD=nextcloud # must be set, because of a bug
|
- REDIS_HOST_PASSWORD=nextcloud # must be set, because of a bug
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud:/var/www/html
|
- ./nextcloud:/var/www/html
|
||||||
- ./data:/var/www/html/data
|
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
@ -60,6 +60,8 @@ services:
|
|||||||
- MYSQL_PASSWORD=nextcloud
|
- MYSQL_PASSWORD=nextcloud
|
||||||
- MYSQL_DATABASE=nextcloud
|
- MYSQL_DATABASE=nextcloud
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
|
- MARIADB_AUTO_UPGRADE=1
|
||||||
|
- MARIADB_DISABLE_UPGRADE_BACKUP=1
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user