-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 YOURLS container documentation #1078
Conversation
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.
Just a couple very minor comments, otherwise looks fine. 👍
yourls/content.md
Outdated
|
||
```console | ||
$ docker run --name some-%%REPO%% --link some-mysql:mysql -d %%IMAGE%% \ | ||
-e YOURLS_SITE="https://example.com" |
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 -e
needs to be before %%IMAGE%%
to work, doesn't it?
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.
Oooh, right!
yourls/content.md
Outdated
|
||
```console | ||
$ docker run --name some-%%REPO%%s -e YOURLS_DB_HOST=10.1.2.3:3306 \ | ||
-e YOURLS_DB_USER=... -e YOURLS_DB_PASS=... -d %%REPO%% |
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.
%%REPO%%
here at the end should be %%IMAGE%%
instead (so the multi-arch descriptions have the right ARCH/yourls
image name here)
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.
You seem right. I took WordPress template as example: https://github.com/docker-library/docs/blob/8117c12eda4829c1c57eb07c02a62028d1e2bfe8/wordpress/content.md
(If you don't get to those before @yosifkit reviews docker-library/official-images#3752, we'll likely just take care of them directly to get this merged today.) |
@tianon Thanks for the review, I updated to reflect your comments. |
Proposing YOURLS (https://github.com/YOURLS/YOURLS) for creating a new official image.