-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.yml
46 lines (44 loc) · 1.52 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
version: '3'
services:
zestream-http:
build:
context: ./
dockerfile: http.Dockerfile
environment:
- PORT=${PORT}
- RABBITMQ_URI=${RABBITMQ_URI}
- GIN_MODE=${GIN_MODE}
- AZURE_ACCOUNT_NAME=${AZURE_ACCOUNT_NAME}
- AZURE_ENDPOINT=${AZURE_ENDPOINT}
- AZURE_ACCESS_KEY=${AZURE_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
- GCP_BUCKET_NAME=${GCP_BUCKET_NAME}
- GCP_PROJECT_ID=${GCP_PROJECT_ID}
- GCP_CREDS_JSON_BASE64=${GCP_CREDS_JSON_BASE64}
- GCP_SERVICE_USER_CREDS_JSON_BASE64=${GCP_SERVICE_USER_CREDS_JSON_BASE64}
ports:
- "8080:${PORT}"
container_name: go-app-http-container
zestream-consumer:
build:
context: ./
dockerfile: consumer.Dockerfile
container_name: go-app-consumer-container
environment:
- RABBITMQ_URI=${RABBITMQ_URI}
- AZURE_ACCOUNT_NAME=${AZURE_ACCOUNT_NAME}
- AZURE_ENDPOINT=${AZURE_ENDPOINT}
- AZURE_ACCESS_KEY=${AZURE_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
- GCP_BUCKET_NAME=${GCP_BUCKET_NAME}
- GCP_PROJECT_ID=${GCP_PROJECT_ID}
- GCP_CREDS_JSON_BASE64=${GCP_CREDS_JSON_BASE64}
- GCP_SERVICE_USER_CREDS_JSON_BASE64=${GCP_SERVICE_USER_CREDS_JSON_BASE64}
volumes:
- consumer-data:/app/assets
volumes:
consumer-data: