forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·88 lines (80 loc) · 2.45 KB
/
docker-compose.yml
File metadata and controls
executable file
·88 lines (80 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 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:
# This been commented out cuz it's no longer needed in the local development
#
# elasticsearch:
# container_name: edx.devstack.elasticsearch
# image: edxops/elasticsearch:devstack
# ports:
# - "9200:9200"
# - "9300:9300"
# volumes:
# - elasticsearch_data:/usr/share/elasticsearch/datamake
# - elasticsearch_data:/usr/share/elasticsearch/logs
memcached:
container_name: edx.devstack.memcached
image: memcached:1.6
ports:
- "11211:11211"
mongo:
# We disable the journal for a minor performance gain.
command: mongod --nojournal
container_name: edx.devstack.mongo
image: mongo:6.0.14
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
mysql:
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci --default-authentication-plugin=mysql_native_password
container_name: edx.devstack.mysql
environment:
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
image: mysql:8.0.31
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
router:
image: nginx
container_name: edraak_dev_router
# #Uncomment to disable router logs
# logging:
# driver: none
volumes:
- ./nginx/includes:/etc/nginx/conf.d/includes
- ./nginx/ssl:/etc/nginx/conf.d/ssl
command: bash -c 'while true; do nginx -g "daemon off;"; sleep 2; done'
ports:
- "80:80"
- "443:443"
networks:
default:
aliases:
- www.edraak.dev
- courses.edraak.dev
- programs.edraak.dev
- edraak.dev
- judge.edraak.dev
- states.edraak.dev
- b2b.edraak.dev
- notify.edraak.dev
- analytics.edraak.dev
- auth.edraak.dev
volumes:
mongo_data:
mysql_data:
# This been commented out cuz it's no longer needed in the local development
#
# elasticsearch_data:
# devpi_data: