forked from breuerfelix/instapy-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (54 loc) · 1.12 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
45
46
47
48
49
50
51
52
53
54
version: '3'
services:
config:
build: ./services/config
image: felixbreuer/instapy-config:latest
restart: unless-stopped
ports:
- 4002:80
volumes:
- ./services/config:/usr/instapy
environment:
- MODE=development
- MONGO_URL
- JWT_SECRET
- CIPHER_SECRET
depends_on:
- mongo
auth:
build: ./services/auth
image: felixbreuer/instapy-auth:latest
command: ['npm', 'run', 'dev']
restart: unless-stopped
volumes:
- ./services/auth:/usr/instapy
ports:
- 4001:80
environment:
- MONGO_URL
- JWT_SECRET
depends_on:
- mongo
socket:
build: ./services/socket
image: felixbreuer/instapy-socket:latest
command: ['npm', 'run', 'dev']
restart: unless-stopped
ports:
- 4005:80
volumes:
- ./services/socket:/usr/instapy
environment:
- JWT_SECRET
depends_on:
- mongo
mongo:
image: mongo
restart: unless-stopped
volumes:
- ./dev/mongo:/data/db
ports:
- 27017:27017
instapy:
build: ./services/instapy
image: felixbreuer/instapy-client:latest