Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created October 11, 2020 19:47
Show Gist options
  • Save dnburgess/8913a65029d3573ca2727c4744de81da to your computer and use it in GitHub Desktop.
Save dnburgess/8913a65029d3573ca2727c4744de81da to your computer and use it in GitHub Desktop.
DB Tech NextCloud Raspberry Pi 4
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: yobasystems/alpine-mariadb:latest
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- /srv/dev-disk-by-label-Files/Databases/NextCloud:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080:80
links:
- db
volumes:
- /srv/dev-disk-by-label-Files/Configs/NextCloud:/var/www/html
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment