31 lines
813 B
YAML
31 lines
813 B
YAML
---
|
|
version: "2"
|
|
services:
|
|
bookstack:
|
|
image: linuxserver/nextcloud
|
|
container_name: nextcloud
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/Config:/config
|
|
ports:
|
|
- ${PORT}:443
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- nextcloud_db
|
|
nextcloud_db:
|
|
image: linuxserver/mariadb
|
|
container_name: nextcloud_db
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
- TZ=${Timezone}
|
|
- MYSQL_DATABASE=nextcloud_db
|
|
- MYSQL_USER=nextcloud
|
|
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
|
volumes:
|
|
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/DB:/config
|
|
restart: unless-stopped
|