moved all files up a folder
This commit is contained in:
32
docker/individual-docker-compose-files/nextcloud-docker-compose.yml
Executable file
32
docker/individual-docker-compose-files/nextcloud-docker-compose.yml
Executable file
@@ -0,0 +1,32 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nextcloud:
|
||||
container_name: nextcloud
|
||||
hostname: nextcloud
|
||||
image: nextcloud:latest
|
||||
depends_on:
|
||||
- nextcloud-mariadb
|
||||
ports:
|
||||
- 8083:80/tcp
|
||||
restart: always
|
||||
volumes:
|
||||
- ./appdata/nextcloud/html:/var/www/html
|
||||
- /mnt/storage:/truenas
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
nextcloud-mariadb:
|
||||
container_name: nextcloud-mariadb
|
||||
hostname: nextcloud-mariadb
|
||||
image: mariadb:latest
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||
- MYSQL_PASSWORD=nextcloud
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
expose:
|
||||
- 3306/tcp
|
||||
restart: always
|
||||
volumes:
|
||||
- ./appdata/nextcloud-mariadb/mysql:/var/lib/mysql
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
Reference in New Issue
Block a user