Closed fazlerabbi37 closed 2 years ago
@fazlerabbi37 Which problem does it solve? Which value does in bring in comparison to a simple docker run
?
@fazlerabbi37 Which problem does it solve? Which value does in bring in comparison to a simple
docker run
?
while it's true that docker-compose is used for managing multiple containers, but it can be useful for single container too. for example:
docker-compose up
but for me, it's just easy to manage. I can cd
into the kiwix-server
and do docker-compose up -d
.
@rgaudin I don't know what you think about this, but the value seems really too limited to me to justify we complexify the README.md
. If you think differently, can you please handle the review process?
but the value seems really too limited to me to justify we complexify the README.md
@kelson42 sorry if I made a mess :sweat_smile:
what I can do is, separate the docker cli and docker-compose command. this would reinstate the README.me
to the previous state and people who are interested in docker-compose can follow to compose part. would that be ok?
in any case, I am open to suggestions on ways to improve things. :smile:
@rgaudin I don't know what you think about this, but the value seems really too limited to me to justify we complexify the
README.md
. If you think differently, can you please handle the review process?
To me, the value of this is in documenting the various features of the image. I'd suggest we either keep the docker-compose.yml in the repo as an example or we keep its content into the README.
Or it could even achieve same result by just adding a couple descriptive lines in the Usage section of the README…
@rgaudin can you please check now?
@rgaudin just to be sure, docker-compose.yml goes back to this state with an empty line at the end? then rebase, right?
@rgaudin just to be sure, docker-compose.yml goes back to this state with an empty line at the end? then rebase, right?
Yes
I would suggest adding this example to commands:
command:
- "*.zim"
Might be useful if there is a lot of ZIMs, instead of adding each filename manually.
I would suggest adding this example to commands:
command: - "*.zim"
Might be useful if there is a lot of ZIMs, instead of adding each filename manually.
Please do
Please do
@rgaudin done!
@fazlerabbi37 Can you also provide a docker compose link like this?
Since docker-compose
is v1 and deprecated, and v2 is used as a docker plugin.
@fazlerabbi37 Can you also provide a docker compose link like this?
Since
docker-compose
is v1 and deprecated, and v2 is used as a docker plugin.
you mean in the README.md?
@fazlerabbi37 Yes
@fazlerabbi37 Yes
done! check now. :smile:
Add docker-compose for kiwix-server