-
Notifications
You must be signed in to change notification settings - Fork 5
/
compose-local-deps.yml
75 lines (75 loc) · 2.17 KB
/
compose-local-deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Note: When running locally in ubuntu in order for ElasticSearch to wrok
# you will need to run
# sysctl -w vm.max_map_count=262144
version: '2'
services:
equality-checker:
network_mode: bridge
container_name: equality-checker
image: ucamcldtg/equality-checker
ports:
- "5000:5000"
chemistry-checker:
network_mode: bridge
container_name: chemistry-checker
image: ucamcldtg/chemistry-checker
ports:
- "5001:5000"
volumes:
- ../.m2:/root/.m2:rw
elasticsearch:
network_mode: bridge
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.2
environment:
- cluster.name=isaac
- "network.host=0.0.0.0"
- node.name=localhost
- cluster.initial_master_nodes=localhost
ports:
- "9200:9200"
- "9300:9300"
mem_limit: 3G
cs-elasticsearch:
network_mode: bridge
container_name: cs-elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.2
environment:
- cluster.name=cs-isaac
- "network.host=0.0.0.0"
- node.name=localhost
- cluster.initial_master_nodes=localhost
ports:
- "9201:9200"
- "9301:9300"
mem_limit: 3G
postgres:
network_mode: bridge
container_name: postgres
image: postgres:12
volumes:
- pg-local:/var/lib/postgresql/data
- ./src/main/resources/db_scripts/postgres-rutherford-create-script.sql:/docker-entrypoint-initdb.d/00-isaac-create.sql:ro
- ./src/main/resources/db_scripts/postgres-rutherford-functions.sql:/docker-entrypoint-initdb.d/01-isaac-functions.sql:ro
- ./src/main/resources/db_scripts/quartz_scheduler_create_script.sql:/docker-entrypoint-initdb.d/02-isaac-quartz.sql:ro
environment:
POSTGRES_USER: rutherford
POSTGRES_PASSWORD: rutherf0rd
ports:
- "5432:5432"
# app-physics:
# network_mode: bridge
# container_name: app-physics
# image: nginx:stable
# volumes:
# - "../isaac-app/app:/usr/share/nginx/html:ro"
# - "../isaac-app/nginx.conf:/etc/nginx/nginx.conf:ro"
# ports:
# - "8000:80"
networks:
default:
external:
name: bridge
volumes:
pg-local:
external: true