This repository was archived by the owner on Nov 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
67 lines (61 loc) · 1.45 KB
/
Copy pathdocker-compose.dev.yaml
File metadata and controls
67 lines (61 loc) · 1.45 KB
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
version: '3.3'
services:
database:
image: postgres:alpine
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASS}
- POSTGRES_DB=${DB_NAME}
ports:
- "${DB_PORT}:5432"
networks:
- backend
redis:
image: bitnami/redis
environment:
- REDIS_PASSWORD=${REDIS_PASS}
ports:
- "${REDIS_PORT}:6379"
workflow-api:
image: area/workflow-api
build:
context: ../
dockerfile: workflowAPI/Dockerfile
environment:
- API_HOST=0.0.0.0
- API_PORT=$WORKFLOW_API_PORT
- DB_HOST=database
- DB_PORT
- DB_URL=postgresql://$DB_USER:$DB_PASS@database:$DB_PORT/$DB_NAME?schema=$DB_WORKFLOW_SCHEMA
ports:
- "${WORKFLOW_API_PORT}:${WORKFLOW_API_PORT}"
networks:
- backend
depends_on:
- database
credential-api:
image: area/credential-api
build:
context: ../
dockerfile: credentialAPI/Dockerfile
environment:
- API_HOST=0.0.0.0
- API_PORT=$CREDENTIAL_API_PORT
- DB_HOST=database
- DB_PORT
- DB_URL=postgresql://$DB_USER:$DB_PASS@database:$DB_PORT/$DB_NAME?schema=$DB_CREDENTIAL_SCHEMA
ports:
- "${CREDENTIAL_API_PORT}:${CREDENTIAL_API_PORT}"
networks:
- backend
depends_on:
- database
grpc-doc:
image: area/grpc-doc
build:
context: ../../protos
dockerfile: Dockerfile
ports:
- "${GRPC_DOC_PORT}:80"
networks:
backend: