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

Updated README.md #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TheDragon44
Copy link

As discussed, some proposed changes to the README that would have saved me a fair bit of time! Feel free to cherry pick any parts you like!

Comment on lines +70 to +72
`docker exec db-auto-backup SCHEDULE=`

`docker exec ./db-auto-backup.py`
Copy link
Owner

Choose a reason for hiding this comment

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

Issue: I'm not sure these commands will actually work, the new SCHEDULE value won't persist. You probably want:

docker-compose exec backup SCHEDULE= ./db-auto-backup.py

@@ -13,30 +13,60 @@ A script to automatically back up all databases running under docker on a host

## Installation

This container requires access to the docker socket. This can be done either by mounting `/var/lib/docker.sock`, or using a HTTP proxy to provide it through `$DOCKER_HOST`.
This container requires access to the docker socket. This should always be done, for security reasons, using a [HTTP proxy](https://github.com/Tecnativa/docker-socket-proxy) which this container can then access through the `DOCKER_HOST` environment variable.
Copy link
Owner

Choose a reason for hiding this comment

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

There's a lot of wording change here, which doesn't seem to add much. I'm ok with talking about the socket before using a proxy (even if it is worse).

I personally always use $ as a prefix for environment variables, although I agree that might not be clear. I'd be ok with a simpler patch which just rewords around that instead.

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.

None yet

2 participants