33 lines
991 B
YAML
33 lines
991 B
YAML
version: "3.2"
|
|
services:
|
|
nextcloud:
|
|
image: lscr.io/linuxserver/nextcloud:26.0.0
|
|
container_name: nextcloud_app
|
|
env_file: .env
|
|
volumes:
|
|
- ./appdata:/config
|
|
- nextcloud_data:/data #This is where most of the NextCloud app lives, including ALL user uploaded files
|
|
# I have mounted this to my NAS (a volume defined below called 'nextcloud_data') because the server wouldn't
|
|
# have enough space.
|
|
ports:
|
|
- 4433:443
|
|
restart: unless-stopped
|
|
links:
|
|
- nextcloud_db
|
|
|
|
nextcloud_db:
|
|
container_name: nextcloud_db
|
|
image: mariadb:10.7.8
|
|
restart: always
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
|
|
volumes:
|
|
- ./mysql:/var/lib/mysql
|
|
env_file: .env
|
|
|
|
volumes:
|
|
nextcloud_data:
|
|
driver_opts:
|
|
type: "nfs"
|
|
o: "addr=10.0.10.10,nolock,soft,rw"
|
|
device: ":/mnt/General_Tank/DockerBinds/docker/nextcloud-hub-4"
|