-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
55 lines (50 loc) · 1.14 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: "2"
services:
# markers-server:
# build: .
# container_name: markers-server
# environment:
# - NODE_ENV=development
# volumes:
# - .:/app
# ports:
# - "3000:3000"
# depends_on:
# - postgres
# - adminer
# command: yarn start -- -L
postgres:
image: postgres:12-alpine
container_name: postgres
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: markets
volumes:
- markets-postgres-data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4:latest
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
mongodb:
image: mongo:latest
container_name: mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
ports:
- "27017:27017"
restart: always
volumes:
- markets-mongodb-data:/data/mongodb
volumes:
markets-postgres-data:
markets-mongodb-data: