This repository was archived by the owner on Dec 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
86 lines (82 loc) · 1.72 KB
/
docker-compose.yaml
File metadata and controls
86 lines (82 loc) · 1.72 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: "3"
services:
activemq:
image: rmohr/activemq
container_name: activemq
networks:
- backend
ports:
- "8161:8161"
- "1883:1883"
env_file: ".env"
server:
build: "."
command: "npm run server"
ports:
- "4000:4000"
networks:
- backend
env_file: ".env"
depends_on:
- "activemq"
account:
container_name: "account"
build: "src/account/"
command: "npm run account"
ports:
- "5000:5000"
env_file: ".env"
dns:
- "8.8.8.8"
networks:
- backend
publish:
container_name: "publish"
build:
context: 'src/notification/publish'
env_file: ".env"
volumes:
- ./src/notification/publish:/app
ports:
- 6000:6000
networks:
- backend
depends_on:
- activemq
subscribe:
container_name: "subscribe"
build:
context: 'src/notification/subscribe'
env_file: ".env"
volumes:
- ./src/notification/subscribe:/app
ports:
- 7000:7000
networks:
- backend
depends_on:
- activemq
# models:
# build: "src/models/"
# command: "echo Models Container Working"
# routes:
# build: "src/routes/"
# command: "npx ts-node github.ts"
# ports:
# - "4000:4000"
# - "8080:8080"
# env_file: "src/routes/.env"
# depends_on:
# - "models"
# client:
# build: "client/"
# command: "npm start"
# ports:
# - "3000:3000"
# env_file: "src/routes/.env"
# # Requires server services to run before running client servers
# depends_on:
# # - "account"
# - "routes"
networks:
backend: