-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
96 lines (89 loc) · 2.77 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
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
95
96
services:
keycloak:
image: quay.io/keycloak/keycloak:26.0
volumes:
- /etc/localtime:/etc/localtime:ro
- ./dev/scripts/keycloak:/opt/keycloak/data/import
ports:
- "8089:8080"
command:
- start-dev
- --import-realm
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
opensearch-node1:
image: opensearchproject/opensearch:2.18.0
container_name: opensearch-node1
environment:
- cluster.name=opensearch-cluster # Name the cluster
- plugins.security.disabled=true
- node.name=opensearch-node1 # Name the node that will run in this container
- discovery.type=single-node
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=FCemx1N90nHR
ulimits:
memlock:
soft: -1 # Set memlock to unlimited (no soft or hard limit)
hard: -1
nofile:
soft: 65536 # Maximum number of open files for the opensearch user - set to at least 65536
hard: 65536
ports:
- "9200:9200" # REST API
- "9600:9600" # Performance Analyzer
localstack:
image: localstack/localstack
ports:
- "4566:4566"
environment:
SERVICES: s3,dynamodb
EXTRA_CORS_ALLOWED_ORIGINS: "*"
volumes:
- ./dev/scripts/localstack:/etc/localstack/init/ready.d
dynamodb-admin:
image: aaronshaf/dynamodb-admin
ports:
- "8001:8001"
environment:
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: local
AWS_SECRET_ACCESS_KEY: local
DYNAMO_ENDPOINT: localstack:4566
s3-admin:
image: mastertinner/s3manager
ports:
- "8002:8080"
environment:
USE_SSL: "false"
ACCESS_KEY_ID: local
SECRET_ACCESS_KEY: local
ENDPOINT: localstack:4566
azurite:
image: mcr.microsoft.com/azure-storage/azurite
command:
- "azurite-blob"
- "--blobHost"
- "0.0.0.0"
- "--blobPort"
- "10000"
ports:
- "10000:10000"
healthcheck:
test: nc 127.0.0.1 10000 -z
interval: 1s
retries: 30
azurite_storage_init:
image: mcr.microsoft.com/azure-cli
command:
- /bin/sh
- -c
- |
az storage container create --name tf-registry
depends_on:
azurite:
condition: service_healthy
environment:
# https://github.com/Azure/Azurite/blob/main/README.md#usage-with-azure-storage-sdks-or-tools
AZURE_STORAGE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;