adding nextcloud and portainer compose files

This commit is contained in:
2025-05-06 11:14:16 -04:00
parent 5c32210792
commit 7dc7de70a3
3 changed files with 88 additions and 0 deletions

39
nextcloud/compose.yaml Normal file
View File

@@ -0,0 +1,39 @@
version: '3'
#volumes:
# nextcloud:
# db:
services:
db:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- /mnt/storage/appdata/nextcloud1/mysql:/var/lib/mysql
networks:
- default
environment:
- MYSQL_ROOT_PASSWORD=WombatWrangler
- MYSQL_PASSWORD=WombatWrangler
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
depends_on:
- db
image: nextcloud:30
restart: always
ports:
- 8080:80
# links:
# - db
volumes:
- /mnt/storage/appdata/nextcloud1/www/html:/var/www/html
networks:
- default
environment:
- MYSQL_PASSWORD=WombatWrangler
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db