2020-06-09 17:12:24 +02:00
|
|
|
---
|
|
|
|
version: "2"
|
|
|
|
services:
|
2020-06-10 18:24:08 +02:00
|
|
|
nextcloud:
|
2020-06-09 20:02:25 +02:00
|
|
|
image: linuxserver/nextcloud
|
|
|
|
container_name: nextcloud
|
2020-06-09 17:12:24 +02:00
|
|
|
environment:
|
|
|
|
- PUID=${PUID}
|
|
|
|
- PGID=${PGID}
|
2020-06-09 20:02:25 +02:00
|
|
|
- TZ=${TZ}
|
2020-06-09 17:12:24 +02:00
|
|
|
volumes:
|
2020-06-10 18:24:08 +02:00
|
|
|
- /portainer/Files/AppData/Config/Nextcloud/Config:/config
|
2020-06-09 17:12:24 +02:00
|
|
|
ports:
|
2020-06-09 20:02:25 +02:00
|
|
|
- ${PORT}:443
|
2020-06-09 17:12:24 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
2020-06-09 20:02:25 +02:00
|
|
|
- nextcloud_db
|
|
|
|
nextcloud_db:
|
2020-06-09 17:12:24 +02:00
|
|
|
image: linuxserver/mariadb
|
2020-06-09 20:02:25 +02:00
|
|
|
container_name: nextcloud_db
|
2020-06-09 17:12:24 +02:00
|
|
|
environment:
|
|
|
|
- PUID=${PUID}
|
|
|
|
- PGID=${PGID}
|
|
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
|
|
- TZ=${Timezone}
|
2020-06-09 20:02:25 +02:00
|
|
|
- MYSQL_DATABASE=nextcloud_db
|
|
|
|
- MYSQL_USER=nextcloud
|
2020-06-09 17:12:24 +02:00
|
|
|
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
|
|
|
volumes:
|
2020-06-10 18:24:08 +02:00
|
|
|
- /portainer/AppData/Config/Nextcloud/DB:/config
|
2020-06-09 17:12:24 +02:00
|
|
|
restart: unless-stopped
|