Created
October 28, 2020 22:49
-
-
Save dnburgess/fdcaf27280e031fe88dd2fb9728649f6 to your computer and use it in GitHub Desktop.
DB Tech NextCloud on Pi 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=nextcloud | |
- MYSQL_PASSWORD=nextcloud | |
- MYSQL_DATABASE=nextcloud | |
- MYSQL_USER=nextcloud | |
app: | |
image: nextcloud | |
ports: | |
- 8080:80 | |
links: | |
- db | |
volumes: | |
- /srv/dev-disk-by-label-Files/Config/Nextcloud:/var/www/html | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suggestion: In your video you delete Volumes for nextcloud and db. Write quick tldr why inside this gist for others to understand a reason to use it or not