Initial commit.
This commit is contained in:
34
docker-compose.yml
Normal file
34
docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: '3'
|
||||
services:
|
||||
nextcloud_db:
|
||||
image: mariadb
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
restart: always
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=hELLO@123
|
||||
- MYSQL_PASSWORD=hELLO@123
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
|
||||
nextcloud:
|
||||
image: nextcloud-ocr
|
||||
build: ./docker/nextcloud
|
||||
ports:
|
||||
- 9900:80
|
||||
links:
|
||||
- nextcloud_db
|
||||
volumes:
|
||||
- ./html:/var/www/html
|
||||
restart: always
|
||||
|
||||
elasticsearch:
|
||||
image: nextcloud-es
|
||||
build: ./docker/elasticsearch
|
||||
ports:
|
||||
- 9200
|
||||
environment:
|
||||
- "discovery.type=single-node"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user