Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created April 28, 2021 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save dnburgess/8d3399b426a9b6ce560c2860adc344b4 to your computer and use it in GitHub Desktop.
Save dnburgess/8d3399b426a9b6ce560c2860adc344b4 to your computer and use it in GitHub Desktop.
DB Tech NextCloud
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=HPe9jV3X9WJ53LCzrDqP
- MYSQL_PASSWORD=moViCr44vBhTjDaQEi5s
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
restart: always
ports:
- 6942:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=moViCr44vBhTjDaQEi5s
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment