This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yaml
79 lines (71 loc) · 1.52 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3.1'
services:
gateway-service:
image: blazewall/gateway-service
build:
context: ./gateway-service
restart: always
ports:
- "8080:8080"
auth-service:
image: blazewall/auth-service
build:
context: ./auth-service
restart: always
ports:
- "8081:8080"
user-service:
image: blazewall/user-service
build:
context: ./user-service
restart: always
ports:
- "8082:8080"
session-service:
image: blazewall/session-service
build:
context: ./session-service
restart: always
ports:
- "8083:8080"
environment:
REDIS_ADDRES: "redis:6379"
protected-service:
image: blazewall/protected-service
build:
context: ./protected-service
restart: always
#mongo-db
mongo:
image: mongo
restart: always
#ports:
# - 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mongo-express:
image: mongo-express
restart: always
ports:
- 8090:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
#redis
redis:
container_name: redis
hostname: redis
image: redis
#ports:
# - "6379:6379"
restart: always
redis-commander:
container_name: redis-commander
hostname: redis-commander
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8091:8081"