-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
71 lines (64 loc) · 1.26 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
postgres:
container_name: qso
image: postgres:11.8
environment:
POSTGRES_DB: "qso_example"
POSTGRES_USER: "qso_user"
POSTGRES_PASSWORD: "qso_password"
ports:
- "5432:5432"
expose:
- "5432"
networks:
- app-network
external_links:
- app-network
volumes:
- ./.docker-volumes/pgdata2:/var/lib/postgresql/data
mongodb_container:
image: mongo:latest
ports:
- 27017:27017
volumes:
- mongodb_data_container:/data/db
redis:
container_name: qso_redis
image: redis:alpine
ports:
- 6379:6379
volumes:
- .:/usr/app
networks:
- app-network
# app:
# build:
# context: .
# container_name: app-all-module
# command: yarn start:dev
# ports:
# - '3002:3002'
# volumes:
# - .:/usr/app
# networks:
# - app-network
# depends_on:
# - postgres
# - mongodb_container
# - redis
# app-credit:
# build:
# context: .
# container_name: app-credit
# command: yarn credit:start:dev
# ports:
# - '3003:3003'
# volumes:
# - .:/usr/app
# networks:
# - app-network
networks:
app-network:
volumes:
mongodb_data_container: