Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
5489bef4
Commit
5489bef4
authored
Apr 07, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #63 from edx/clintonb/docker-updates
Updated docker-compose.yml
parents
316547fa
4a603684
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
38 deletions
+46
-38
Makefile
+2
-2
docker-compose.yml
+44
-36
No files found.
Makefile
View file @
5489bef4
...
...
@@ -80,10 +80,10 @@ push_translations:
tx push
-s
start-devstack
:
docker-compose
--x-networking
up
docker-compose up
open-devstack
:
docker-compose
--x-networking
up
-d
docker-compose up
-d
docker
exec
-it
course-discovery env
TERM
=
$(TERM)
/edx/app/discovery/devstack.sh open
accept
:
...
...
docker-compose.yml
View file @
5489bef4
db
:
image
:
mysql:5.6
container_name
:
db
environment
:
MYSQL_ROOT_PASSWORD
:
"
"
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
yes"
version
:
"
2"
es
:
image
:
elasticsearch:1.5.2
container_name
:
es
volumes
:
-
/tmp/elasticsearch/data:/es-data
ports
:
-
"
9200:9200"
-
"
9300:9300"
services
:
db
:
image
:
mysql:5.6
container_name
:
db
environment
:
MYSQL_ROOT_PASSWORD
:
"
"
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
yes"
MYSQL_USER
:
"
discov001"
MYSQL_PASSWORD
:
"
password"
MYSQL_DATABASE
:
"
discovery"
ports
:
-
"
3306:3306"
memcache
:
image
:
memcached:1.4.24
container_name
:
memcache
es
:
image
:
elasticsearch:1.5.2
container_name
:
es
volumes
:
-
/tmp/elasticsearch/data:/es-data
ports
:
-
"
9200:9200"
-
"
9300:9300"
# rabbitmq
:
# image: rabbitmq:3.5.3
# container_name: rabbitmq
memcache
:
image
:
memcached:1.4.24
container_name
:
memcache
course-discovery
:
# Uncomment this line to use the official course-discovery base image
image
:
edxops/course-discovery:latest
course-discovery
:
# Uncomment this line to use the official course-discovery base image
image
:
edxops/course-discovery:latest
# Uncomment the next two lines to build from a local configuration repo
#build: ../configuration
#dockerfile: docker/build/course_discovery/Dockerfile
# Uncomment the next two lines to build from a local configuration repo
#build: ../configuration
#dockerfile: docker/build/course_discovery/Dockerfile
container_name
:
course-discovery
volumes
:
-
.:/edx/app/course_discovery/discovery
command
:
/edx/app/discovery/devstack.sh start
environment
:
TEST_ELASTICSEARCH_URL
:
"
http://es:9200"
ports
:
-
"
18381:18381"
-
"
8381:8381"
-
"
48381:48381"
container_name
:
course-discovery
volumes
:
-
.:/edx/app/course_discovery/discovery
command
:
/edx/app/discovery/devstack.sh start
depends_on
:
-
"
db"
-
"
es"
-
"
memcache"
environment
:
TEST_ELASTICSEARCH_URL
:
"
http://es:9200"
ports
:
-
"
18381:18381"
-
"
8381:8381"
-
"
48381:48381"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment