added nextcloud
This commit is contained in:
parent
dc68fc6e8f
commit
c250656583
|
@ -23,6 +23,8 @@ Repository for ready-to-go Services running in docker containers via docker-comp
|
|||
- InfluxDB / Grafana / Telegraf / Caddy
|
||||
- all in one container stack for running a stack for fetching, storing and visualizing time series data
|
||||
- secured by Caddy proxy
|
||||
- Nextcloud
|
||||
- selfhosted file storage and sharing platform
|
||||
- Seafile
|
||||
- selfhosted file storage and sharing platform
|
||||
- Uptime Kuma
|
||||
|
|
11
nextcloud/README.md
Normal file
11
nextcloud/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Nextcloud docker container
|
||||
|
||||
### requirements:
|
||||
|
||||
- installed system with docker-compose
|
||||
- running in /services/nextcloud/
|
||||
- adjust env_example and rename to .env
|
||||
- on setup use MySQL and nextcloud-db as host
|
||||
|
||||
Website:
|
||||
https://nextcloud.com
|
46
nextcloud/docker-compose.yaml
Normal file
46
nextcloud/docker-compose.yaml
Normal file
|
@ -0,0 +1,46 @@
|
|||
version: '3.3'
|
||||
services:
|
||||
nextcloud-db:
|
||||
image: mariadb
|
||||
container_name: nextcloud-db
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=ROW --innodb_read_only_compressed=OFF
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_INITDB_SKIP_TZINFO=1
|
||||
networks:
|
||||
- nextcloud-net
|
||||
nextcloud-redis:
|
||||
image: redis:alpine
|
||||
container_name: nextcloud-redis
|
||||
hostname: nextcloud-redis
|
||||
networks:
|
||||
- nextcloud-net
|
||||
restart: unless-stopped
|
||||
command: redis-server --requirepass ${REDIS_PASS}
|
||||
nextcloud-app:
|
||||
image: nextcloud
|
||||
container_name: nextcloud-app
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- nextcloud-db
|
||||
- nextcloud-redis
|
||||
ports:
|
||||
- ${PORT}:80"
|
||||
environment:
|
||||
REDIS_HOST: nextcloud-redis
|
||||
REDIS_HOST_PASSWORD: ${REDIS_PASS}
|
||||
volumes:
|
||||
- ./app:/var/www/html
|
||||
- ./data:/var/www/html/data
|
||||
networks:
|
||||
- nextcloud-net
|
||||
networks:
|
||||
nextcloud-net:
|
6
nextcloud/env_example
Normal file
6
nextcloud/env_example
Normal file
|
@ -0,0 +1,6 @@
|
|||
MYSQL_ROOT_PASSWORD=
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_DATABASE=
|
||||
MYSQL_USER=
|
||||
REDIS_PASS=
|
||||
PORT=
|
Loading…
Reference in a new issue