adding nextcloud and portainer compose files
This commit is contained in:
39
nextcloud/compose.yaml
Normal file
39
nextcloud/compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user