Created
April 28, 2021 17:09
-
-
Save dnburgess/8d3399b426a9b6ce560c2860adc344b4 to your computer and use it in GitHub Desktop.
DB Tech NextCloud
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 | |
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