forked from openedx/edx-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 1.03 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
# Docker in this repo is only supported for running tests locally
# as an alternative to virtualenv natively - johnnagro 2022-02-11
version: "2.1"
services:
test-shell:
build:
context: .
dockerfile: Dockerfile
container_name: enterprise.test.app
hostname: app.test.enterprise
volumes:
- .:/edx/app/edx-enterprise
networks:
- devstack_default
# Allows attachment to this container using 'docker attach <containerID>'.
stdin_open: true
tty: true
environment:
DJANGO_SETTINGS_MODULE: enterprise.settings.test
keycloak:
container_name: "edx.devstack.keycloak"
hostname: keycloak.devstack.edx
image: quay.io/keycloak/keycloak:22.0.1
command: start-dev
networks:
default:
aliases:
- edx.devstack.keycloak
ports:
- "8080:8080"
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
volumes:
- keycloak_data:/opt/keycloak/data
networks:
devstack_default:
external: true
volumes:
keycloak_data: