This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
78 lines (77 loc) · 2.47 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
# Defines common services used for development purposes
# set COMPOSE_DOCKER_CLI_BUILD=1
# set DOCKER_BUILDKIT=1
version: '3.5'
x-test-variables: &test-variables
POSTGRES_PASSWORD: 'password'
POSTGRES_USER: 'bob'
POSTGRES_DB: 'db'
services:
jaeger:
image: jaegertracing/all-in-one
ports:
- "127.0.0.1:16686:16686"
dbsha256:
build: ssl
image: approzium_postgres_ssl
command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
environment:
<<: *test-variables
POSTGRES_INITDB_ARGS: '--auth-host=scram-sha-256'
POSTGRES_HOST_AUTH_METHOD: 'scram-sha-256'
dbmd5:
build: ssl
image: approzium_postgres_ssl
command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
environment: *test-variables
dbmysqlsha1:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=db
- MYSQL_USER=bob
- MYSQL_PASSWORD=password
vault:
image: "vault:latest"
environment:
- VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200
- VAULT_DEV_ROOT_TOKEN_ID=root
entrypoint: vault server -dev
authenticatorvault:
build:
context: ./
target: authenticator-dev
environment:
- APPROZIUM_HOST=0.0.0.0
- APPROZIUM_DISABLE_TLS=true
- APPROZIUM_SECRETS_MANAGER=vault
- VAULT_ADDR=http://vault:8200
- VAULT_TOKEN=root
depends_on:
- vault
authenticatortls:
build:
context: ./
target: authenticator-dev
environment:
- APPROZIUM_HOST=0.0.0.0
- APPROZIUM_TLS_CERT_PATH=/app/approzium.pem
- APPROZIUM_TLS_KEY_PATH=/app/approzium.key
- APPROZIUM_SECRETS_MANAGER=vault
- VAULT_ADDR=http://vault:8200
- VAULT_TOKEN=root
depends_on:
- vault
authenticatorasm:
build:
context: ./
target: authenticator-dev
environment:
- APPROZIUM_HOST=0.0.0.0
- APPROZIUM_DISABLE_TLS=true
- APPROZIUM_SECRETS_MANAGER=asm
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
volumes:
- ~/.aws/:/root/.aws/:ro