Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created July 20, 2020 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnburgess/783bbde7f2f93e405bec9d0a9e374050 to your computer and use it in GitHub Desktop.
Save dnburgess/783bbde7f2f93e405bec9d0a9e374050 to your computer and use it in GitHub Desktop.
DB Tech Nextcloud Setup
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: unless-stopped
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=p@55w0rD!
- MYSQL_PASSWORD=p@55w0rD!
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
links:
- db
volumes:
- /srv/dev-disk-by-label-Files/NxtCld:/var/www/html
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment