-
Notifications
You must be signed in to change notification settings - Fork 5
/
compose-local-deps.yml
107 lines (97 loc) · 2.97 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Note: When running locally in ubuntu in order for ElasticSearch to work, 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-js:
network_mode: bridge
container_name: chemistry-checker-js
image: ghcr.io/isaacphysics/chemistry-checker-js
ports:
- "5002:5002"
elasticsearch:
network_mode: bridge
container_name: elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.6
environment:
- cluster.name=isaac
- "network.host=0.0.0.0"
- node.name=localhost
- cluster.initial_master_nodes=localhost
- http.max_content_length=512mb
- ELASTIC_PASSWORD=elastic
- xpack.security.enabled=false
- ingest.geoip.downloader.enabled=false
ports:
- "9200:9200"
- "9300:9300"
mem_limit: 6G
cs-elasticsearch:
network_mode: bridge
container_name: cs-elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.6
environment:
- cluster.name=cs-isaac
- "network.host=0.0.0.0"
- node.name=localhost
- cluster.initial_master_nodes=localhost
- http.max_content_length=512mb
- ELASTIC_PASSWORD=elastic
- xpack.security.enabled=false
- ingest.geoip.downloader.enabled=false
ports:
- "9201:9200"
- "9301:9300"
mem_limit: 6G
it-elasticsearch:
network_mode: bridge
container_name: it-elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.6
environment:
- cluster.name=it-isaac
- "network.host=0.0.0.0"
- node.name=localhost
- cluster.initial_master_nodes=localhost
- http.max_content_length=512mb
- ELASTIC_PASSWORD=elastic
- xpack.security.enabled=false
- ingest.geoip.downloader.enabled=false
ports:
- "9501:9200"
- "9601:9300"
mem_limit: 6G
postgres:
network_mode: bridge
container_name: postgres
image: postgres:16
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