Skip to content

Instantly share code, notes, and snippets.

@DennisLoska
Created November 10, 2020 19:07
Show Gist options
  • Save DennisLoska/9cd7c21f066d6516bd52bbfb92b557e3 to your computer and use it in GitHub Desktop.
Save DennisLoska/9cd7c21f066d6516bd52bbfb92b557e3 to your computer and use it in GitHub Desktop.
Nextcloud
version: '3'
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: 'password'
MYSQL_PASSWORD: 'password'
MYSQL_DATABASE: 'nextcloud'
MYSQL_USER: 'nextcloud'
app:
image: nextcloud
ports:
- '89:80'
links:
- db
volumes:
- ./nextcloud:/var/www/html
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment