-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yaml
56 lines (52 loc) · 1.1 KB
/
docker-compose.yaml
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
version: "3"
services:
mlp:
depends_on:
- postgres
- keto
- vault
build: .
image: gojecktech/mlp:dev
ports:
- 8080:8080
env_file: .env.development
environment:
- DATABASE_HOST=postgres
restart: on-failure
postgres:
image: bitnami/postgresql:14.5.0
ports:
- 5432:5432
environment:
- POSTGRESQL_USERNAME=mlp
- POSTGRESQL_PASSWORD=mlp
- POSTGRESQL_DATABASE=mlp
keto:
image: oryd/keto:v0.11
ports:
- 4466:4466
- 4467:4467
command: serve -c /home/ory/keto.yaml
volumes:
- type: bind
source: ./config-keto-dev.yaml
target: /home/ory/keto.yaml
vault:
image: hashicorp/vault
ports:
- 8200:8200
cap_add:
- IPC_LOCK
environment:
- VAULT_DEV_ROOT_TOKEN_ID=root
- VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200
entrypoint: vault server -dev
swagger-ui:
image: swaggerapi/swagger-ui:v3.23.5
ports:
- 5555:8080
volumes:
- ./static:/app:ro
environment:
- LAYOUT=BaseLayout
- SWAGGER_JSON=/app/swagger.yaml