-
Notifications
You must be signed in to change notification settings - Fork 0
Add Dockerfiles for CloudKitty #2
Conversation
b123706 to
f17fdf4
Compare
|
@lukapeschke i think it should be good now |
lukapeschke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few remarks on the Dockerfiles and the README, see inline comments
README.md
Outdated
|
|
||
| ### api | ||
|
|
||
| Contains the Dockerfiles for the api side of CloudKitty and its dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"the Dockerfile", no S. "For CloudKitty's API": api side sounds a bit french 😉
README.md
Outdated
|
|
||
| ### processor | ||
|
|
||
| Contains the Dockerfiles for the processor side of CloudKitty. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same remarks a for the API.
CloudKitty/api/Dockerfile
Outdated
|
|
||
| RUN pip install cloudkitty | ||
|
|
||
| RUN apt-get purge -y \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge the three RUN instructions above into one.
CloudKitty/api/Dockerfile
Outdated
|
|
||
| COPY apache_cloudkitty.conf /etc/apache2/sites-available/cloudkitty.conf | ||
|
|
||
| RUN a2ensite cloudkitty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm maybe this could be done by directly copying the cloudkitty.conf file to sites-enabled ?
CloudKitty/api/Dockerfile
Outdated
|
|
||
| RUN a2ensite cloudkitty | ||
|
|
||
| ADD run_apache.sh /root/run_apache.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a COPY
Added the Dockerfile for CloudKitty api and its dependencies. Also added the Dockerfile for CloudKitty processor and updated the README to include the Dockerfiles documentation.
f17fdf4 to
25aeeb9
Compare
lukapeschke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added the Dockerfile for CloudKitty api and its dependencies.
Also added the Dockerfile for CloudKitty processor
and updated the README to include the Dockerfiles documentation.