-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 1.07 KB
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
# Development environment: LocalStack (AWS SSM) + Lowkey Vault (Azure Key Vault)
#
# Usage:
# docker compose -f docker-compose.yml up -d
#
# AWS SSM endpoint: http://localhost:4566
# Azure Key Vault URL: https://localhost:8443
# Azure Token endpoint: http://localhost:8080
services:
localstack:
image: localstack/localstack:stable
container_name: envilder-localstack
ports:
- "4566:4566"
environment:
LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN:?LOCALSTACK_AUTH_TOKEN is required — run pnpx envilder to generate .env}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4566/_localstack/health"]
interval: 5s
timeout: 3s
retries: 10
lowkey-vault:
image: nagyesta/lowkey-vault:7.1.32
container_name: envilder-lowkey-vault
ports:
- "8443:8443"
- "8080:8080"
environment:
LOWKEY_ARGS: "--server.port=8443 --LOWKEY_VAULT_RELAXED_PORTS=true"
healthcheck:
test: ["CMD", "curl", "-fk", "https://localhost:8443/ping"]
interval: 5s
timeout: 3s
retries: 10