-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 1.15 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
version: "3.1"
services:
diviner:
container_name: diviner
build: .
restart: always
depends_on:
- archivist
ports:
- "8082:8082"
environment:
APP_PORT: 8082
ARCHIVIST_URL: http://host.docker.internal:8080
ARCHIVE: temp
mongo:
container_name: mongo
image: mongo:4.4
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
MONGO_INITDB_DATABASE: archivist
volumes:
- ./scripts/mongo/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
archivist:
container_name: archivist
image: public.ecr.aws/t4x5y6n8/api-xyo-archivist:latest
restart: always
depends_on:
- mongo
ports:
- "8080:8080"
environment:
APP_PORT: 8080
CORS_ALLOWED_ORIGINS: http://localhost:3000
MONGO_CONNECTION_STRING: mongodb://root:example@mongo:27017/?retryWrites=true&w=majority
MONGO_DATABASE: archivist
MONGO_DOMAIN: "mongo"
MONGO_PASSWORD: example
MONGO_USERNAME: root
JWT_SECRET: TOP_SECRET
API_KEY: 00000000-0000-0000-0000-000000000000