generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
41 lines (40 loc) · 1.11 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
version: '2.2'
services:
blob-router-service-db:
build:
context: ./docker/database
image: hmcts/dm-store-db:latest
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5434:5432
azure-storage-emulator-azurite:
image: mcr.microsoft.com/azure-storage/azurite
command: azurite-blob --blobHost 0.0.0.0 --loose --skipApiVersionCheck
environment:
AZURITE_ACCOUNTS: crime:Y3JpbWVrZXkK;reformscanlocal:cmVmb3Jtc2NhbmtleQo=;bulkscanlocal:cmVmb3Jtc2NhbmtleQo=;pcqlocal:cmVmb3Jtc2NhbmtleQo=;jason:cmVmb3Jtc2NhbmtleQo=;mosh:cmVmb3Jtc2NhbmtleQo=;
volumes:
- ./bulk-scan-azure-blob-data:/opt/azurite/folder
ports:
- 10000:10000
blob-router-service:
build:
context: .
args:
- http_proxy
- https_proxy
- no_proxy
image: hmctspublic.azurecr.io/reform-scan/blob-router
links:
- blob-router-service-db
ports:
- 8584:8584
env_file:
- .env
init-storage:
build:
context: ./docker/storage
links:
- azure-storage-emulator-azurite
depends_on:
- azure-storage-emulator-azurite