forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-progs.yml
More file actions
executable file
·42 lines (37 loc) · 1.29 KB
/
docker-compose-progs.yml
File metadata and controls
executable file
·42 lines (37 loc) · 1.29 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
# 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: '3.3'
services:
progs:
image: eu.gcr.io/openedx-231314/edraak/progs:20250618-155233-m
environment:
PROGS_CFG: /app/docker.json
NODE_ENV: development
command: bash -c 'while true; do python3.8 manage.py runserver 0.0.0.0:8800 --settings=edraakprograms.dev; sleep 2; done'
container_name: edraak.devstack.programs
working_dir: /app
ports:
- "18800:8800"
depends_on:
- mysql
- mongo
- memcached
volumes:
- progs_media:/edx/var/progs/media
- ${DEVSTACK_WORKSPACE}/edraak-programs:/app:cached
- ~/.ssh/:/root/.ssh
router:
depends_on:
- progs
volumes:
- ./nginx/progs.conf:/etc/nginx/conf.d/progs.conf
- ./nginx/b2b-redirects.conf:/etc/nginx/conf.d/redirects.conf
volumes:
progs_media: