-
Notifications
You must be signed in to change notification settings - Fork 296
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
Provide a Docker Compose example #1168
Conversation
I had an issue with jwilder's nginx proxy because it doesn't set the Also, is it possible to put the |
db24968
to
d65144d
Compare
That's right, I usually override this as well on a per-virtualhost basis. The main doc looks obsolete, as Nginx configuration is generated by I'll look into alternatives such as Træfik and Caddy(https://caddyserver.com/), which are cloud-ready and come with Let's Encrypt support out-of-the-box.
On a more subjective perspective, I like to find I don't know where the |
Træfik alternative in #1170, tested on the cheapest DigitalOcean Droplet (VPS) available :) |
d65144d
to
f52a316
Compare
6807966
to
6ae39ed
Compare
6ae39ed
to
aafa113
Compare
PR reworked with Træfik, along with a guide on how to setup a VPS with Docker, Compose and Shaarli images :) |
5c9f4ae
to
a608109
Compare
|
||
- [Droplets Overview](https://www.digitalocean.com/docs/droplets/overview/) | ||
- [Pricing](https://www.digitalocean.com/pricing/) | ||
- [How to Create a Droplet from the DigitalOcean Control Panel ](https://www.digitalocean.com/docs/droplets/how-to/create/) |
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.
extra space Panel ](http
(HTTP with TLS encryption). | ||
|
||
Domain names can be obtained from registrars through hosting providers such as | ||
[Gandhi](https://www.gandi.net/en/domain). |
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.
Gandi
``` | ||
|
||
### Setting up Docker Compose | ||
_The following instructions are from the |
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.
Github's syntax highlighting is somehow broken, even though https://github.com/virtualtam/Shaarli/blob/a608109ec13b0b79afd53f6ad8695c7da09ee15c/doc/md/guides/install-shaarli-with-debian9-and-docker.md displays properly
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.
In addition a short introductory sentence about what docker compose is/does would be nice:
Docker Compose is a tool for defining and running multi-container Docker applications. It uses YAML files to configure the application's services and performs the creation and start-up process of all the containers with a single command.
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.
I fear adding to much information would clutter the guides, though links to Docker and Compose documentation could be featured in the "Goals" introductory section
- [Get Docker CE for Debian](https://docs.docker.com/install/linux/docker-ce/debian/) | ||
- [docker logs](https://docs.docker.com/engine/reference/commandline/logs/) | ||
- [Volumes](https://docs.docker.com/storage/volumes/) | ||
- [Install Docker Compose](Install Docker Compose) |
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.
Broken link
- Backup, restore, import and export: Backup,-restore,-import-and-export.md | ||
- Various hacks: Various-hacks.md | ||
- Guides: | ||
- Install Shaarli on Debian 9 with Docker: guides/install-shaarli-with-debian9-and-docker.md |
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.
page title and filename do not match
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.
they don't have to, this makes for nicer page slugs when generating the docs
a608109
to
d0f7bbf
Compare
Closes shaarli#1010 See: - https://hub.docker.com/_/traefik/ - https://docs.traefik.io/configuration/backends/docker/ - https://docs.traefik.io/user-guide/docker-and-lets-encrypt/ - traefik/traefik#2798 - traefik/traefik#3298 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
d0f7bbf
to
8ef338a
Compare
PR updated; @nodiscc I went for something in-between, with a brief link and description of each tool in the introductory section, and a couple more links in the Resources section. |
This is good, it's always nice to have some context. You could do a pass of
|
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
8ef338a
to
a0c34a4
Compare
Well it doesn't hurt, done :) |
The path to the images is wrong in your guide page. They point to |
Yes, MkDocs has a weird behaviour regarding file inclusion when using plain HTML instead of Markdown: mkdocs/mkdocs#991 |
Thanks @ArthurHoaro and @nodiscc for the reviews and feedback :) |
Closes #1010
Tested on a DigitalOcean Droplet (cheapest one: 1 vCPU, 1 GiB RAM, 25 GiB SSD)
See: