add etherpad and nginx services
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
solr:
|
solr:
|
||||||
image: my_fet_solr
|
image: my_fet_solr
|
||||||
build: ./solr_server
|
build: ./services/solr_server
|
||||||
ports:
|
ports:
|
||||||
- "8980:8983"
|
- "8980:8983"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- /opt/solr/server/solr/configsets/fetconfig
|
- /opt/solr/server/solr/configsets/fetconfig
|
||||||
solrprotocol:
|
solrprotocol:
|
||||||
image: my_fet_solr
|
image: my_fet_solr
|
||||||
build: ./solr_server
|
build: ./services/solr_server
|
||||||
ports:
|
ports:
|
||||||
- "8980:8983"
|
- "8980:8983"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -22,7 +22,41 @@ services:
|
|||||||
- solr-precreate
|
- solr-precreate
|
||||||
- core
|
- core
|
||||||
- /opt/solr/server/solr/configsets/fetconfig
|
- /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:
|
bot:
|
||||||
image: bot
|
image: bot
|
||||||
build: .
|
build: .
|
||||||
@@ -33,3 +67,4 @@ services:
|
|||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
|
ep-mysql-volume:
|
||||||
|
|||||||
Reference in New Issue
Block a user