Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Dockerisation #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

WIP: Dockerisation #1

wants to merge 6 commits into from

Conversation

jlebonzec
Copy link
Collaborator

@jlebonzec jlebonzec commented Nov 22, 2017

The site is able to run. We can register new users and new projects.
The analysis can be run. But there is a problem in reading the output.

To do absolutely:

  • Have the data (repos and stats) in a separate container.
    • It's saved in quantified/data for now, but is configurable through config

Not breaking, but important, especially for scaling:

  • Be able to read a special config file
    • It's currently all hardcoded

This is where checkmate is pulled, or where repos are saved for instance, we don't want to cache it.
The site is able to run. We can register new users and new projects.
The analysis is not run though.

To do absolutely:
- Have the data (repos and stats) in a separate container.
  - It's saved in `quantified/data` for now, but is configurable through config
- Have the celery worker run (in a separate container?)
  - Command is `python manage.py runworker`

Not breaking, but important, especially for scaling:
- Be able to read a special config file
  - It's currently all hardcoded
- Have RabbitMQ (or Redis) in a separate container
- Have the database (postgres advised) in a separate container
Both are almost ready but I couldn't get it to work properly. So I used the local version intead.
Some variables were undeclared or badly used
@jlebonzec jlebonzec force-pushed the jlebonzec/dockerisation branch from 2a94d77 to f8ede65 Compare November 29, 2017 15:40
@jlebonzec jlebonzec changed the title WIP: Attempt to dockerise WIP: Dockerisation Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant