Browse Source

Customize base docker-compose file.

master
jowj 3 years ago
parent
commit
5e5707e170
  1. 27
      docker-compose.yml

27
docker-compose.yml

@ -0,0 +1,27 @@
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- /mnt/shared_document_store/nextcloud/sql:/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:
- /mnt/shared_document_store/nextcloud/html/:/var/www/html/
Loading…
Cancel
Save