| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- version: '2.1'
- #version: '3'
- volumes:
- files:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${DATA_VOLUME_ROOT}/data/files"
- db:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${DB_VOLUME_ROOT}/db"
- redis:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${REDIS_VOLUME_ROOT}/redis"
- es_index:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${ELASTIC_SEARCH_ROOT}/es"
- es_root:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${ELASTIC_SEARCH_ROOT}/es_root"
- oo_data:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${DATA_VOLUME_ROOT}/data/oo_data"
-
- clamav:
- driver: local
- driver_opts:
- type: volume
- o: 'bind'
- device: "${DATA_VOLUME_ROOT}/data/clamav"
- services:
- db:
- image: mariadb
- container_name: ${CONTAINER_NAME}_db
- command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
- restart: "no"
- volumes:
- - db:/var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- - MYSQL_DATABASE=nextcloud
- - MYSQL_USER=nextcloud
- redis:
- image: redis:alpine
- container_name: ${CONTAINER_NAME}_redis
- restart: "no"
- volumes:
- - redis:/var/lib/redis
- app:
- image: nextcloud:20.0.6
- container_name: ${CONTAINER_NAME}
- ports:
- - 1235:80
- links:
- - db
- - redis
- volumes:
- - files:/var/www/html
- restart: "no"
- environment:
- - REDIS_HOST=redis
- - REDIS_PASSWORD=
- es01:
- image: docker.elastic.co/elasticsearch/elasticsearch:6.8.1
- container_name: ${CONTAINER_NAME}_es
- environment:
- - node.name=es01
- - discovery.type=single-node
- ulimits:
- memlock:
- soft: -1
- hard: -1
- volumes:
- #- es_index:/usr/share/elasticsearch/data
- - es_index:/usr/share/elasticsearch/data
- #- es_root:/usr/share/elasticsearch
- - es_root:/usr/share/elasticsearch
- restart: "no"
- ports:
- - 9201:9200
- onlyoffice:
- container_name: ${CONTAINER_NAME}_onlyoffice
- image: onlyoffice/documentserver:6.0.2
- stdin_open: true
- tty: true
- restart: "no"
- #restart: always
- ports:
- - 9981:80
- volumes:
- - oo_data:/var/www/onlyoffice/Data
- #- oo_log:/var/log/onlyoffice
- av:
- image: mkodockx/docker-clamav:alpine
- container_name: ${CONTAINER_NAME}_clamav
- restart: "no"
- ports:
- - 3311:3310
- volumes:
- - clamav:/etc/clamav
|