Skip to content

Commit fd5a7ec

Browse files
author
sabaanwar
committed
updated docker-compose
1 parent b3369fc commit fd5a7ec

File tree

2 files changed

+60
-49
lines changed

2 files changed

+60
-49
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# SCoT
2-
3-
SCoT (Sense Clustering over Time) is a web application to view the senses of a word and their evolvement over time.
2+
SCoT (Sense Clustering over Time) is a web application to view the senses of a word and their evolvement over time.
43

54
You will find a detailed explanation of the theoretical background, the architecture and usage examples in the following paper
65
Haase, Anwar, Yimam, Friedrich, Biemann (2021 - under consideration for EACL - Demo Paper)
76
https://www.dropbox.com/s/fqgwatcjhweryqi/Haase_Anwar_Yimam_Friedrich_Biemann_SCoT_2021.pdf?dl=0
87

9-
This is the second version of the tool, which has been fundamentally revised from the first version that was initially developed by
8+
This is the second version of the tool, which has been fundamentally revised from the first version that was initially developed by
109
Kempfert, Anwar, Yimam and Biemann. The revisions include:
11-
12-
- a fully revised and new graph-model of so-called Neighbourhood Graphs over Time, including new graph-building algorithms, stemming from Haase's MA Thesis
10+
- a fully revised and new graph-model of so-called Neighbourhood Graphs over Time, including new graph-building algorithms, stemming from Haase's MA Thesis
1311
- a fully new designed frontend
1412
- a fully revised new architecture of the application, including a new MVVM-frontend-component-layering (Vue.js) and a three-layer backend (Python)
1513
- the ability to include features from multiple DTs and full text search via SQL and ElasticSearch-Databases
@@ -23,3 +21,7 @@ https://youtu.be/SbmfA4hKjvg
2321
If you have any questions, please do not hesitate emailing me at haase[at]informatik.uni-hamburg.de
2422

2523
Best, Christian Haase, Lead Dev Version 2
24+
25+
26+
27+

docker-compose.yml

+53-44
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: "2.1"
2-
# networks:
3-
# scot-net:
2+
networks:
3+
scott-net:
44
services:
55
app:
66
#build: ./src_vue
7-
image: uhhlt/scottest
7+
image: uhhlt/scott
88
volumes:
99
- ./src_vue/config:/app/config
1010
- ./src_vue/persistence:/app/persistence
@@ -13,49 +13,58 @@ services:
1313
- ./src_vue/static:/app/static
1414
# depends_on:
1515
# - elasticsearch_780
16-
# links:
17-
# - db
16+
links:
17+
- db
1818
ports:
1919
- "10020:80"
20-
# networks:
21-
# scot-net:
20+
networks:
21+
scott-net:
2222

23-
# db:
24-
# image: mariadb:10.5.4
25-
# container_name: mariadb_1054
26-
# volumes:
27-
# # database - this can be combined with environment [implicit start-up scrip1] to source one db [useful for very large dumps as here]
28-
# - ${PWD}/db/dump.sql:/docker-entrypoint-initdb.d/dump.sql
29-
# # Permanent volume not needed - as the data does not change
30-
# - ${PWD}/db/dev_data:/var/lib/mysql
31-
# # SECOND START-UP SCRIPT VIA scripts in entrypoint folder
32-
# # all scripts in this folder are copied somewhere - thus do NOT reference other files in them - use USE db; - execution lexically
33-
# #- ${PWD}/db/init/init_dev:/docker-entrypoint-initdb.d
34-
#
35-
# # environment works as a first start-up script and executes mysql commands on the docker image
36-
# environment:
37-
# MYSQL_ROOT_PASSWORD: root
38-
# MYSQL_DATABASE: scot
39-
# MYSQL_USER: user
40-
# MYSQL_PASSWORD: password
41-
#
42-
# networks:
43-
# scot-net:
44-
#
45-
# elasticsearch:
46-
# image: elasticsearch:7.8.0
47-
# container_name: elasticsearch_780
48-
# environment:
49-
# - xpack.security.enabled=false
50-
# - discovery.type=single-node
51-
# - "ES_JAVA_OPTS=-Xms16g -Xmx16g"
52-
# volumes:
53-
# - elasticsearch-data:/usr/share/elasticsearch/data
54-
# ports:
55-
# - 9292:9200
56-
# - 9393:9300
57-
# networks:
58-
# scot-net:
23+
db:
24+
image: mariadb:10.5.4
25+
container_name: mariadb_1054
26+
volumes:
27+
# database - this can be combined with environment [implicit start-up scrip1] to source one db [useful for very large dumps as here]
28+
- ${PWD}/db/dump.sql:/docker-entrypoint-initdb.d/dump.sql
29+
# Permanent volume not needed - as the data does not change
30+
- ${PWD}/db/dev_data:/var/lib/mysql
31+
# SECOND START-UP SCRIPT VIA scripts in entrypoint folder
32+
# all scripts in this folder are copied somewhere - thus do NOT reference other files in them - use USE db; - execution lexically
33+
#- ${PWD}/db/init/init_dev:/docker-entrypoint-initdb.d
34+
35+
# environment works as a first start-up script and executes mysql commands on the docker image
36+
environment:
37+
MYSQL_ROOT_PASSWORD: root
38+
MYSQL_DATABASE: scot
39+
MYSQL_USER: user
40+
MYSQL_PASSWORD: password
41+
42+
networks:
43+
scott-net:
44+
45+
elasticsearch:
46+
image: elasticsearch:8.6.0
47+
container_name: scot_elasticsearch_860
48+
environment:
49+
- xpack.security.enabled=false
50+
- discovery.type=single-node
51+
- "ES_JAVA_OPTS=-Xms16g -Xmx16g"
52+
ulimits:
53+
memlock:
54+
soft: -1
55+
hard: -1
56+
nofile:
57+
soft: 65536
58+
hard: 65536
59+
cap_add:
60+
- IPC_LOCK
61+
volumes:
62+
- elasticsearch_data:/usr/share/elasticsearch/data
63+
ports:
64+
- 9292:9200
65+
- 9393:9300
66+
networks:
67+
scott-net:
5968
# volumes:
60-
# elasticsearch-data:
69+
# elasticsearch_data:
6170
# driver: local

0 commit comments

Comments
 (0)