-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (62 loc) · 1.38 KB
/
docker-compose.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
version: '3.9'
services:
redis:
image: redis:7.0.11
restart: unless-stopped
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 10s
timeout: 10s
retries: 2
start_period: 10s
ports:
- 6379:6379
rabbitmq:
image: rabbitmq:3
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 10s
timeout: 10s
retries: 2
start_period: 10s
neo4j:
image: neo4j:5.9.0
restart: unless-stopped
environment:
- NEO4J_server.memory.heap.initial_size=1G
- NEO4J_server.memory.heap.max_size=2G
- NEO4J_PLUGINS=["apoc", "graph-data-science"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,gds.*
- NEO4J_AUTH=neo4j/password
# volumes:
# - data:/data
# - backups:/backups
healthcheck:
test: ["CMD" ,"wget", "http://localhost:7474"]
interval: 10s
timeout: 10s
retries: 5
start_period: 10s
ports:
- 7687:7687
discourse:
build:
context: .
dockerfile: Dockerfile
target: production
command: yarn run start:prod
restart: always
ports:
- 3000:3000
env_file:
- .env
depends_on:
redis:
condition: service_healthy
rabbitmq:
condition: service_healthy
neo4j:
condition: service_healthy
volumes:
data:
backups: