-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
94 lines (89 loc) · 2.84 KB
/
compose.yaml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
include:
- tests/engine/compose.yaml
services:
ndc-storage:
build:
context: .
ports:
- 8080:8080
volumes:
- ./tests/configuration:/etc/connector:ro
- ./tests/certs/service_account.json:/service_account.json
extra_hosts:
- local.hasura.dev=host-gateway
environment:
STORAGE_ENDPOINT: $STORAGE_ENDPOINT
PUBLIC_HOST: localhost:9000
DEFAULT_BUCKET: $DEFAULT_BUCKET
ACCESS_KEY_ID: $ACCESS_KEY_ID
SECRET_ACCESS_KEY: $SECRET_ACCESS_KEY
S3_STORAGE_ENDPOINT: $S3_STORAGE_ENDPOINT
S3_PUBLIC_HOST: localhost:9010
S3_DEFAULT_BUCKET: $S3_DEFAULT_BUCKET
S3_ACCESS_KEY_ID: $S3_ACCESS_KEY_ID
S3_SECRET_ACCESS_KEY: $S3_SECRET_ACCESS_KEY
AZURE_STORAGE_ENDPOINT: $AZURE_STORAGE_ENDPOINT
AZURE_STORAGE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=${AZURE_STORAGE_ACCOUNT_NAME};AccountKey=${AZURE_STORAGE_ACCOUNT_KEY};BlobEndpoint=${AZURE_STORAGE_ENDPOINT}
AZURE_STORAGE_DEFAULT_BUCKET: $AZURE_STORAGE_DEFAULT_BUCKET
AZURE_STORAGE_ACCOUNT_NAME: $AZURE_STORAGE_ACCOUNT_NAME
AZURE_STORAGE_ACCOUNT_KEY: $AZURE_STORAGE_ACCOUNT_KEY
GOOGLE_STORAGE_DEFAULT_BUCKET: $GOOGLE_STORAGE_DEFAULT_BUCKET
GOOGLE_STORAGE_ENDPOINT: $GOOGLE_STORAGE_ENDPOINT
GOOGLE_STORAGE_PUBLIC_HOST: $GOOGLE_STORAGE_PUBLIC_HOST
GOOGLE_PROJECT_ID: $GOOGLE_PROJECT_ID
GOOGLE_STORAGE_CREDENTIALS_FILE: /service_account.json
HASURA_LOG_LEVEL: debug
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4317
OTEL_METRICS_EXPORTER: prometheus
minio:
image: minio/minio:RELEASE.2024-12-18T13-15-44Z
ports:
- 9000:9000
- 9001:9001
volumes:
- minio_data:/data
environment:
MINIO_ROOT_USER: $ACCESS_KEY_ID
MINIO_ROOT_PASSWORD: $SECRET_ACCESS_KEY
command: server /data --console-address ":9001"
# https://github.com/adobe/S3Mock
s3mock:
image: adobe/s3mock:latest
environment:
- debug=true
- retainFilesOnExit=true
- root=containers3root
- initialBuckets=bucket1
ports:
- 9010:9090
- 9111:9191
volumes:
- s3_data:/containers3root
# https://github.com/Azure/Azurite
azurite:
image: mcr.microsoft.com/azure-storage/azurite
restart: always
command: ["azurite-blob", "--blobHost", "0.0.0.0", "-d", "/debug.log"]
extra_hosts:
- local.hasura.dev=host-gateway
ports:
- "10000:10000"
environment:
AZURITE_ACCOUNTS: "${AZURE_STORAGE_ACCOUNT_NAME}:${AZURE_STORAGE_ACCOUNT_KEY}"
# https://github.com/fsouza/fake-gcs-server
gcp-storage-emulator:
image: fsouza/fake-gcs-server:1.52.1
command:
[
"-scheme",
"http",
"-public-host",
"http://localhost:10010",
"-log-level",
"debug",
]
ports:
- "10010:4443"
volumes:
minio_data:
s3_data: