Skip to content

Instantly share code, notes, and snippets.

@jermdw
Created October 31, 2018 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jermdw/814e28cea8334bf995cf280c25cfa6dd to your computer and use it in GitHub Desktop.
Save jermdw/814e28cea8334bf995cf280c25cfa6dd to your computer and use it in GitHub Desktop.
Nextcloud Docker Compose manifest
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
ports:
- 8080: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