-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (72 loc) · 1.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
76 lines (72 loc) · 1.63 KB
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
services:
mongo:
image: mongo
container_name: epitweet_td_mongo
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
MONGO_INITDB_DATABASE: admin
entrypoint: ["/custom-entrypoint.sh"]
volumes:
- ./custom-entrypoint.sh:/custom-entrypoint.sh:ro
- ./02-init_mongo.js:/docker-entrypoint-initdb.d/01-init_mongo.js:ro
- mongodb_data:/data/db
ports:
- 27017:27017
expose:
- "27017"
networks:
- my_network
redis:
image: "redis:alpine"
container_name: epitweet_td_redis
restart: unless-stopped
command: redis-server
ports:
- 6379:6379
expose:
- "6379"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.1
container_name: epitweet_td_elasticsearch
restart: unless-stopped
environment:
- xpack.security.enabled=false
- discovery.type=single-node
ulimits:
memlock:
soft: 4194304
hard: 4194304
nofile:
soft: 65536
hard: 65536
mem_limit: 4g
cap_add:
- IPC_LOCK
ports:
- 9200:9200
- 9300:9300
expose:
- "9200"
- "9300"
neo4j:
image: neo4j:3.5
container_name: epitweet_td_neo4j
restart: unless-stopped
environment:
- NEO4J_AUTH=none
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G
ports:
- 7474:7474
- 7687:7687
expose:
- "7474"
- "7687"
volumes:
mongodb_data:
networks:
my_network:
name: my_mongo_network