forked from fredmfarias/heimdall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (56 loc) · 1.31 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
version: '2'
services:
mongo:
image: mongo:3.6
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
redis:
image: redis:alpine
rabbitmq:
image: rabbitmq:alpine
postgres-data:
image: busybox
volumes:
- /var/lib/postgresql/data/pgdata
postgres:
image: postgres:alpine
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: heimdall
POSTGRES_PASSWORD: '123456'
POSTGRES_USER: postgres
volumes_from:
- postgres-data
ports:
- 5433:5432/tcp
heimdall-config:
image: getheimdall/heimdall-config:latest
heimdall-api:
image: getheimdall/heimdall-api:latest
environment:
- SPRING_PROFILES_ACTIVE=docker
links:
- postgres:postgres
- heimdall-config:heimdall-config
- redis:redis
- mongo:mongo
- rabbitmq:rabbitmq
ports:
- 9090:9090/tcp
heimdall-gateway:
image: getheimdall/heimdall-gateway:latest
environment:
- SPRING_PROFILES_ACTIVE=docker
links:
- postgres:postgres
- heimdall-config:heimdall-config
- redis:redis
- mongo:mongo
- rabbitmq:rabbitmq
ports:
- 8080:8080/tcp
heimdall-frontend:
image: getheimdall/heimdall-frontend:latest
ports:
- 80:5000/tcp