Last active
June 19, 2020 12:27
-
-
Save dnburgess/81973cde92ca668058094592b36fe00d to your computer and use it in GitHub Desktop.
NextCloud Portainer Setup
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: mariadb | |
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW | |
restart: always | |
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 | |
ports: | |
- 83:80 | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment