This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
forked from typelevel/skunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (64 loc) · 1.67 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
version: '3'
services:
# main instance for testing
postgres:
image: postgres:11
command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
volumes:
- ./world/world.sql:/docker-entrypoint-initdb.d/world.sql
- ./world/server.crt:/var/lib/postgresql/server.crt
- ./world/server.key:/var/lib/postgresql/server.key
ports:
- 5432:5432
environment:
POSTGRES_USER: jimmy
POSTGRES_PASSWORD: banana
POSTGRES_DB: world
# for testing password-free login
trust:
image: postgres:11
ports:
- 5433:5432
environment:
POSTGRES_DB: world
POSTGRES_HOST_AUTH_METHOD: trust
# for testing scram-sha-256 login
scram:
image: postgres:11
ports:
- 5434:5432
environment:
POSTGRES_DB: world
POSTGRES_USER: jimmy
POSTGRES_PASSWORD: banana
POSTGRES_HOST_AUTH_METHOD: scram-sha-256
POSTGRES_INITDB_ARGS: --auth-host=scram-sha-256
# for testing clear-text password login
password:
image: postgres:11
ports:
- 5435:5432
environment:
POSTGRES_DB: world
POSTGRES_USER: jimmy
POSTGRES_PASSWORD: banana
POSTGRES_HOST_AUTH_METHOD: password
POSTGRES_INITDB_ARGS: --auth-host=password
# for testing redshift connections
redshift:
image: guildeducation/docker-amazon-redshift
ports:
- 5439:5439
# Jaeger, for tracing
jaeger:
image: jaegertracing/all-in-one:1.8
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686
- 14268:14268
- 9411:9411
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9411