-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
executable file
·54 lines (49 loc) · 1.22 KB
/
docker-compose.yaml
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
version: "3.9"
services:
mongodb:
container_name: mongodb
image: mongo:4.2.21
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: pass
MONGO_INITDB_DATABASE: tododb
ports:
- "27017:27017"
volumes:
- ./env/local/mongo/001_users.js:/docker-entrypoint-initdb.d/001_users.js:ro
redis-server:
image: "redis:6.0-alpine"
container_name: redis
command: redis-server
kms:
container_name: kms
image: nsmithuk/local-kms:3.11.2
volumes:
- ./env/local/kms:/init
ports:
- 4566:8080
- 4599:8080
config-server:
image: ${CONFIG_SERVER_IMAGE}
container_name: config-server
todo:
image: ${TODO_IMAGE}
container_name: todo
ports:
- "8080:8080"
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-local}
AWS_ACCESS_KEY: dummy
AWS_SECRET_ACCESS_KEY: dummy
restart: on-failure
edge-service:
image: ${EDGE_SERVICE_IMAGE}
container_name: edge-service
ports:
- "8081:8081"
environment:
SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE:-local}
AWS_ACCESS_KEY: dummy
AWS_SECRET_ACCESS_KEY: dummy
restart: on-failure