-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 934 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 934 Bytes
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
version: "3.8"
services:
client:
container_name: wi-client
build: ./client
networks:
- wi-network
ports:
- 3010:80
server:
container_name: wi-server
build: ./server
networks:
- wi-network
ports:
- 3012:80
postgres:
container_name: wi-postgres
image: postgres
networks:
- wi-network
ports:
- 5432:5432
volumes:
- ./db/postgres:/docker-entrypoint-initdb.d/
environment:
POSTGRES_USER: p-wi-user
POSTGRES_PASSWORD: p-wi-password
POSTGRES_DB: p-wi
mongo:
container_name: wi-mongo
image: mongo
networks:
- wi-network
ports:
- 27017:27017
volumes:
- ./db/mongo:/docker-entrypoint-initdb.d/
environment:
MONGO_INITDB_ROOT_USERNAME: m-wi-user
MONGO_INITDB_ROOT_PASSWORD: m-wi-password
MONGO_INITDB_DATABASE: m-wi
networks:
wi-network:
driver: bridge