forked from keratin/authn-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.sentinel.yml
55 lines (49 loc) · 1.11 KB
/
docker-compose.sentinel.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
version: "3"
networks:
app-tier:
driver: bridge
services:
test:
build:
context: .
dockerfile: Dockerfile.test
environment:
- TEST_REDIS_URL=redis://redis-sentinel:26379
- REDIS_MASTER_NAME=mymaster
- TEST_MYSQL_URL=mysql://root@mysql:3306/authnservertest
- TEST_POSTGRES_URL=postgres://postgres:password@postgres:5432/postgres?sslmode=disable
volumes:
- ".:/go/src/github.com/keratin/authn-server"
networks:
- app-tier
redis:
image: "bitnami/redis:latest"
environment:
- ALLOW_EMPTY_PASSWORD=yes
networks:
- app-tier
redis-sentinel:
image: "bitnami/redis-sentinel:latest"
environment:
- REDIS_MASTER_HOST=redis
networks:
- app-tier
mysql:
image: mysql:5.7
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_ROOT_PASSWORD
networks:
- app-tier
logging:
driver: none
postgres:
image: postgres:9.6
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER
- POSTGRES_DB
networks:
- app-tier
logging:
driver: none