Skip to content

Commit

Permalink
Add nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
skibum1869 committed Apr 4, 2023
1 parent 499c32a commit 0014c69
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Synology/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,37 @@ services:
- 9.9.9.9
cap_add:
- NET_ADMIN

nextcloud_db:
container_name: mariadb
hostname: mariadb
image: mariadb:10.5
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- /volume1/docker/Nextcloud/database:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=CHANGEME
- MYSQL_PASSWORD=CHANGEME
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud

nextcloud:
container_name: nextcloud
hostname: nextcloud
image: nextcloud
restart: always
ports:
- 8080:80
links:
- nextcloud_db
volumes:
- /volume1/docker/Nextcloud/config:/var/www/html
environment:
- MYSQL_PASSWORD=CHANGEME
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db

watchtower:
container_name: watchtower
Expand Down

0 comments on commit 0014c69

Please sign in to comment.