-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (49 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
54 lines (49 loc) · 1.39 KB
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
services:
# test-shell is only provided for running tests locally
test-shell:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/edx/app/edx-enterprise
# Allows attachment to this container using 'docker attach <containerID>'.
stdin_open: true
tty: true
environment:
DJANGO_SETTINGS_MODULE: enterprise.settings.test
# Run a IdP in devstack (powered by keycloak).
keycloak:
container_name: "edx.devstack.keycloak"
hostname: keycloak.devstack.edx
image: quay.io/keycloak/keycloak:26.6
command: start-dev
networks:
devstack_default:
aliases:
- edx.devstack.keycloak
ports:
- "8080:8080"
environment:
KC_BOOTSTRAP_ADMIN_USERNAME: admin
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
KC_HTTP_HOST: "0.0.0.0"
volumes:
- keycloak_data:/opt/keycloak/data
keycloak-config-cli:
image: adorsys/keycloak-config-cli:latest-26
env_file: keycloak-devstack.env
volumes:
- ./keycloak-devstack.properties:/opt/keycloak-config-cli.properties:ro
- ./keycloak-devstack-realm.json:/config/keycloak-devstack-realm.json:ro
command: --spring.config.additional-location=/opt/keycloak-config-cli.properties
networks:
- devstack_default
depends_on:
- keycloak
profiles:
- provision
networks:
devstack_default:
external: true
volumes:
keycloak_data: