You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.8 KiB
69 lines
1.8 KiB
version: "3.7"
|
|
services:
|
|
nextcloud:
|
|
image: nextcloud:25.0.3
|
|
container_name: nextcloud_main
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8082:80
|
|
volumes:
|
|
- /usr/docker_binds/nextcloud/instance:/var/www/html
|
|
- /mnt/pokecenter/NextCloudDataStore:/var/www/html/data
|
|
environment:
|
|
REDIS_HOST: nc-redis
|
|
MYSQL_DATABASE: nextcloud
|
|
MYSQL_USER: nextcloud
|
|
MYSQL_PASSWORD: L3dZMr8PkSkkvJ
|
|
MYSQL_HOST: nc-db
|
|
OVERWRITECLIURL: https://altaria.pkmn.cloud
|
|
OVERWRITEPROTOCOL: https
|
|
depends_on:
|
|
- nc-db
|
|
- nc-redis
|
|
networks:
|
|
- nextcloud-net
|
|
|
|
nc-db:
|
|
image: mariadb:10.5
|
|
container_name: nc-db
|
|
hostname: nc-db
|
|
restart: unless-stopped
|
|
# Recommended database settings as listed in:
|
|
# https://docs.nextcloud.com/server/21/admin_manual/configuration_database/linux_database_configuration.html
|
|
command: --transaction-isolation=READ-COMMITTED --log-bin=msqyld-bin --binlog-format=ROW --expire-logs-days=2
|
|
volumes:
|
|
- /usr/docker_binds/nextcloud/db:/var/lib/mysql
|
|
environment:
|
|
MYSQL_USER: nextcloud
|
|
MYSQL_DATABASE: nextcloud
|
|
MYSQL_ROOT_PASSWORD: iA8Wy2hWSM8hx9
|
|
MYSQL_PASSWORD: L3dZMr8PkSkkvJ
|
|
networks:
|
|
- nextcloud-net
|
|
|
|
nc-redis:
|
|
image: redis:6.2-alpine
|
|
container_name: nc-redis
|
|
hostname: nc-redis
|
|
restart: unless-stopped
|
|
networks:
|
|
- nextcloud-net
|
|
volumes:
|
|
- /usr/docker_binds/nextcloud/redis:/data
|
|
|
|
cron:
|
|
image: nextcloud:25.0
|
|
container_name: nextcloud_cron
|
|
restart: always
|
|
volumes:
|
|
- /usr/docker_binds/nextcloud/instance:/var/www/html
|
|
- /mnt/pokecenter/NextCloudDataStore:/var/www/html/data
|
|
entrypoint: /cron.sh
|
|
depends_on:
|
|
- nc-db
|
|
- nc-redis
|
|
networks:
|
|
- nextcloud-net
|
|
|
|
networks:
|
|
nextcloud-net:
|