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

Add instructions to get Dockerfile working #20

Merged
merged 5 commits into from
Sep 23, 2014

Conversation

petems
Copy link
Contributor

@petems petems commented Sep 18, 2014

Instruction to get Dockerfile working 👍

Peter Souter added 2 commits September 18, 2014 15:42
We want to make sure people don't accidentally commit their config files when opening pull-requests and such
From my investigation using a bash session on the Dockerfile, cloudtunes-server never started with superviser because it would always fail with:

```
!!!Cannot import local settings!!!

You need to copy cloudtunes/settings/local.example.py
to cloudtunes/settings/local.py and fill in the None's.

https://github.com/jakubroztocil/cloudtunes#installation
```
@kakawait
Copy link

Any chance to pass API key/secret through env docker system like docker run -d -e LASTFM_API_KEY=XXX -e LASTFM_API_SECRET=YYY .....?

Storing API information inside docker image will stuck the image to a personal usage and not reusable like docker philosophy.

@@ -1,4 +1,5 @@
dump.rdb
.idea/
*.pyc

# Make sure people dont accidentally commit their API keys!
cloudtunes-server/cloudtunes/settings/local.py
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's already excluded in cloudtunes-server/.gitignore

jkbrzt added a commit that referenced this pull request Sep 23, 2014
Add instructions to get Dockerfile working
@jkbrzt jkbrzt merged commit 3262465 into jkbrzt:master Sep 23, 2014
@jkbrzt
Copy link
Owner

jkbrzt commented Sep 23, 2014

Thanks, Peter 👍

@petems petems deleted the add_dockerfile_instructions branch October 2, 2014 11:04
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.

3 participants