-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (58 loc) · 1.59 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
57
58
59
60
61
62
services:
crypto-vault-rest-service:
image: crypto-vault-rest-service:0.1.0
build:
context: .
dockerfile: cmd/crypto-vault-rest-service/Dockerfile
env_file:
- ./crypto-vault-rest-service.env
ports:
- "5000:8080/tcp"
depends_on:
- postgres
- azure-blob-storage
restart: on-failure
crypto-vault-grpc-service:
image: crypto-vault-grpc-service:0.1.0
build:
context: .
dockerfile: cmd/crypto-vault-grpc-service/Dockerfile
env_file:
- ./crypto-vault-grpc-service.env
ports:
- "8090:8090/tcp"
- "50051:50051/tcp"
depends_on:
- postgres
- azure-blob-storage
restart: on-failure
postgres:
image: postgres
container_name: postgres-db
environment:
- POSTGRES_LOGGING=true
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
ports:
- "5432:5432/tcp"
volumes:
- postgres-db:/var/lib/postgresql/data
restart: on-failure
# command: psql "host=localhost port=5432 user=postgres password=postgres sslmode=prefer"
azure-blob-storage:
image: mcr.microsoft.com/azure-storage/azurite
container_name: azure-blob-storage
environment:
- ACCOUNT_NAME=devstoreaccount1
- ACCOUNT_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
ports:
- "10000:10000"
- "10001:10001"
- "10002:10002"
volumes:
- azurite-data:/data
command: ["azurite", "--skipApiVersionCheck", "--blobHost", "0.0.0.0"]
restart: on-failure
volumes:
postgres-db:
azurite-data: