-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod.docker-compose.yml
58 lines (53 loc) · 1.15 KB
/
prod.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
version: "3.7"
services:
function-registry-db:
image: postgres:9.4
volumes:
- pgdata:/var/lib/postgresql/data
expose:
- 5432
environment:
- POSTGRES_USER=hermes
- POSTGRES_PASSWORD=hermes
networks:
- hermes
restart: "on-failure"
function-registry-api:
image: hermeshub/function-registry-api:latest
expose:
- 8080
networks:
- hermes
volumes:
- ./logs/function-registry-api/:/app/logs
restart: "on-failure"
depends_on:
- function-registry-db
function-lifecycle-broker:
image: redis
expose:
- 6379
networks:
- hermes
restart: "always"
function-orchestrator:
image: hermeshub/function-orchestrator:latest
environment:
- DOCKER_BINARY_PATH=/usr/local/bin/docker
ports:
- ${PORT}:3000
networks:
- hermes
volumes:
- ./logs/function-orchestrator/:/app/logs
- ./results:/app/results
- /var/run/docker.sock:/var/run/docker.sock
restart: "on-failure"
depends_on:
- function-lifecycle-broker
- function-registry-api
volumes:
pgdata:
networks:
hermes:
external: true