-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose-ci.yml
39 lines (35 loc) · 963 Bytes
/
docker-compose-ci.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
version: '3'
services:
server:
image: ${DOCKER_REGISTRY_BUILDER}/ritchie-server:builder
volumes:
- .:/home/application
command: ["/home/application/run-tests-ci.sh"]
depends_on:
- stubby4j
- vault
- keycloak
stubby4j:
image: sandokandias/stubby4j-docker
environment:
STUBBY_PORT: 8882
volumes:
- ./testdata/stubby4j/integrations.yml:/usr/local/stubby.yml
vault:
image: vault:1.3.0
volumes:
- ./resources/vault.hcl:/vault/config/vault.hcl
environment:
- VAULT_DEV_ROOT_TOKEN_ID=87e7784b-d598-44fe-8962-c7c345a11eed
- VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200
- SKIP_SETCAP=true
- disable_mlock=true
keycloak:
image: jboss/keycloak:7.0.0
environment:
DB_VENDOR: H2
KEYCLOAK_IMPORT: /tmp/keycloak/ritchie.json
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
volumes:
- ./testdata/security/keycloak:/tmp/keycloak