forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-b2b.yml
More file actions
40 lines (35 loc) · 1.24 KB
/
docker-compose-b2b.yml
File metadata and controls
40 lines (35 loc) · 1.24 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
# This file contains all of the services for an edraak installation. See https://docs.docker.com/compose/compose-file/
# for the appropriate syntax and definitions.
#
# Housekeeping Rules:
# - Group third-party and edraak services separately
# - Alphabetize services in the groups
# - Alphabetize individual configuration options for each service
# - Every service's container name should be prefixed with "edraak.devstack." to avoid conflicts with other containers
# that might be running for the same service.
version: "2.1"
services:
b2b:
image: eu.gcr.io/openedx-231314/edraak/progs
environment:
PROGS_CFG: /app/docker-b2b.json
NODE_ENV: development
command: bash -c 'while true; do python3.8 manage.py runserver 0.0.0.0:8801 --settings=edraakprograms.dev; sleep 2; done'
container_name: edraak.devstack.b2b
working_dir: /app
ports:
- "18801:8801"
depends_on:
- mysql
- mongo
- memcached
volumes:
- ${DEVSTACK_WORKSPACE}/b2b-programs:/app:cached
- ${DEVSTACK_WORKSPACE}/src:/edx/src
- ~/.ssh/:/root/.ssh
router:
depends_on:
- b2b
volumes:
- ./nginx/b2b.conf:/etc/nginx/conf.d/b2b.conf
- ./nginx/b2b-redirects.conf:/etc/nginx/conf.d/redirects.conf