Files
intern2020/docker-compose.dev.yml
2021-01-11 18:45:03 +00:00

76 lines
1.6 KiB
YAML

version: '3'
services:
solr:
image: my_fet_solr
build: ./services/solr_server
ports:
- "8980:8983"
volumes:
- data:/var/solr
command:
- solr-precreate
- core
- /opt/solr/server/solr/configsets/fetconfig
solrprotocol:
image: my_fet_solr
build: ./services/solr_server
ports:
- "8980:8983"
volumes:
- data:/var/solr
command:
- solr-precreate
- core
- /opt/solr/server/solr/configsets/fetconfig
etherpadsql:
image: jbergstroem/mariadb-alpine
environment:
SKIP_INNODB: "no"
MYSQL_DATABASE: etherpaddb
MYSQL_USER: user
MYSQL_PASSWORD: hgu
MYSQL_COLLATION: utf8_general_ci
MYSQL_CHARSET: utf8
volumes:
- ep-mysql-volume:/var/lib/mysql
etherpad:
image: etherpad/etherpad
environment:
DB_TYPE: mysql
DB_HOST: etherpadsql
DB_PORT: 3306
DB_NAME: etherpaddb
DB_USER: user
DB_PASS: hgu
DB_CHARSET: utf8
TRUST_PROXY: "true"
REQUIRE_SESSION: "true"
depends_on:
- etherpadsql
volumes:
- ./services/etherpad/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
ports:
- "9101:9001"
nginx:
image: nginx:alpine
volumes:
- ./services/nginx/default.conf:/etc/nginx/conf.d/default.conf
ports:
- "5000:80"
# bot:
# image: bot
# build: .
# environment:
# TARGET: https://andis.2020.fet.at
# SOLR_HOST: http://solr:8983
# ports:
# - "5000:5000"
theia:
image: theiaide/theia-python:latest
volumes:
- .:/home/project
- ../packages:/home/packages
volumes:
data:
ep-mysql-volume: