fix nextcloud
This commit is contained in:
parent
30805aace9
commit
ac64ece5c0
1 changed files with 11 additions and 14 deletions
|
@ -2,33 +2,30 @@
|
||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
bookstack:
|
bookstack:
|
||||||
image: linuxserver/bookstack
|
image: linuxserver/nextcloud
|
||||||
container_name: bookstack
|
container_name: nextcloud
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
- DB_HOST=bookstack_db
|
- TZ=${TZ}
|
||||||
- DB_USER=bookstack
|
|
||||||
- DB_PASS=${DATABASE_PASSWORD}
|
|
||||||
- DB_DATABASE=bookstackapp
|
|
||||||
volumes:
|
volumes:
|
||||||
- /portainer/Files/AppData/Bookstack/Data:/config
|
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/Config:/config
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:80
|
- ${PORT}:443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- bookstack_db
|
- nextcloud_db
|
||||||
bookstack_db:
|
nextcloud_db:
|
||||||
image: linuxserver/mariadb
|
image: linuxserver/mariadb
|
||||||
container_name: bookstack_db
|
container_name: nextcloud_db
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||||
- TZ=${Timezone}
|
- TZ=${Timezone}
|
||||||
- MYSQL_DATABASE=bookstackapp
|
- MYSQL_DATABASE=nextcloud_db
|
||||||
- MYSQL_USER=bookstack
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- /portainer/Files/AppData/Bookstack/DB:/config
|
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/DB:/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue