Skip to content

Code changes for setting up GraphSpace comment system using docker.

Subramanyam Makam edited this page Apr 6, 2019 · 1 revision

These are the file by file changes required to set up the GraphSpace comment-system using docker.

File Usage New / old file
docker.py The Django server is ran using this settings file inside the docker container. Since we have to create a database with credentials, this file is a copy of normal Django settings file with edited database credentials. New
redis.conf This file is necessary for loading the Redis configuration (port number, hostname to run on etc) New
elasticsearch.yml Similar to redis this file is necessary for loading the Elasticsearch configuration (cluster and node name etc). New
docker_command.sh This script runs while the image is build which copies the configuration files and starts the Django server. New
Dockerfile This file is used to build the graphspace docker image which is build on an ubuntu:16.04 base image. It contains a list of commands for installing all the dependencies for GraphSpace. New
docker-compose.yml Helps in integrating the whole process of building the docker image, running the docker_command.sh script and forwarding the port. New

Clone this wiki locally