-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
65 lines (63 loc) · 1.73 KB
/
compose.yml
File metadata and controls
65 lines (63 loc) · 1.73 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
include:
# installer node global
- path:
- ./.docker/node-installer.compose.yml
# spotter service (client front)
- path:
- ${INCLUDE_PATH}/spotter/compose.yml
# rosetta service (libre translate)
- path:
- ${INCLUDE_PATH}/rosetta/compose.yml
# sea service (elastic search)
- path:
- ${INCLUDE_PATH}/sea/compose.yml
# school service
- path:
- ${INCLUDE_PATH}/school/compose.yml
# marine-snow service
- path:
- ${INCLUDE_PATH}/marine-snow/compose.yml
# horizon service (gateway)
- path:
- ${INCLUDE_PATH}/horizon/compose.yml
# harbor service (auth)
- path:
- ${INCLUDE_PATH}/harbor/compose.yml
# abys service
- path:
- ${INCLUDE_PATH}/abys/compose.yml
# bridge service (gateway interne)
- path:
- ${INCLUDE_PATH}/bridge/compose.yml
# lighthouse service (BO admin)
- path:
- ${INCLUDE_PATH}/lighthouse/compose.yml
# bottle service (notification)
- path:
- ${INCLUDE_PATH}/bottle/compose.yml
# coral service
- path:
- ${INCLUDE_PATH}/coral/compose.yml
# beacon service
- path:
- ${INCLUDE_PATH}/beacon/compose.yml
- path:
- e2e/compose.yml
services:
async-message-mongo:
extends:
file: ${TEMPLATE_COMPOSE_MONGO_DEV}
service: template-mongo
attach: false
command: [ "mongod", "--replSet", "rs0" ]
post_start:
- command: |
bash -c "
sleep 5 && \
mongosh --eval 'try { rs.status().ok } catch(e) { rs.initiate({ _id: \"rs0\", members: [{ _id: 0, host: \"async-message-mongo:27017\" }] }) }' && \
echo '✅ Replica set prêt avec authentification'
"
volumes:
- "async-message-mongo-data:/data/db"
volumes:
async-message-mongo-data: