Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
1c7004d9
Commit
1c7004d9
authored
Dec 29, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working builds
parent
8db7eb1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
25 deletions
+16
-25
docker/build/edxapp/Dockerfile
+14
-0
docker/build/edxapp/ansible_overrides.yml
+2
-2
docker/build/edxapp/xDockerfile
+0
-23
No files found.
docker/build/edxapp/Dockerfile
0 → 100644
View file @
1c7004d9
FROM
edxops/precise-common:latest
MAINTAINER
edxops
USER
root
RUN
apt-get update
ADD
. /edx/app/edx_ansible/edx_ansible
COPY
docker/build/edxapp/ansible_overrides.yml /
WORKDIR
/edx/app/edx_ansible/edx_ansible/docker/plays
COPY
docker/build/edxapp/ansible_overrides.yml /
RUN
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook edxapp.yml
-i
'127.0.0.1,'
-c
local
-e
"EDXAPP_PYTHON_SANDBOX=false"
-t
"install:base,install:configuration,install:app-requirements,install:code"
-e
@/ansible_overrides.yml
WORKDIR
/edx/app
CMD
["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
EXPOSE
8000 8010
docker/build/edxapp/ansible_overrides.ym
m
l
→
docker/build/edxapp/ansible_overrides.yml
View file @
1c7004d9
...
...
@@ -4,4 +4,4 @@ DOCKER_TLD: "edx"
EDXAPP_MYSQL_HOST
:
"
db.{{
DOCKER_TLD
}}"
EDXAPP_MONGO_HOSTS
:
- "mongo.{{ DOCKER_TLD }}"
\ No newline at end of file
-
"
mongo.{{
DOCKER_TLD
}}"
\ No newline at end of file
docker/build/edxapp/xDockerfile
deleted
100644 → 0
View file @
8db7eb1c
FROM edxops/precise-common:latest
MAINTAINER edxops
ENV CONFIGURATION_REPO="https://github.com/edx/configuration.git"
ENV CONFIGURATION_VERSION="hack2015/docker"
USER docker
RUN sudo apt-get update
WORKDIR /edx/app/edx_ansible/edx_ansible
RUN sudo git fetch --all
RUN sudo git checkout ${CONFIGURATION_VERSION}
RUN sudo git reset --hard origin/${CONFIGURATION_VERSION}
RUN sudo git pull
WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY ansible_overrides.yml /
RUN sudo ansible-playbook edxapp.yml -i '127.0.0.1,' -c local -e "EDXAPP_PYTHON_SANDBOX=false" -t "install:base,install:configuration,install:app-requirements,install:code" -e@/ansible_overrides.yml
USER root
WORKDIR /edx/app
CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
EXPOSE 8000 8010
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