-
Notifications
You must be signed in to change notification settings - Fork 146
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create wiki page 'Reverse Proxy with traefik' #1010
Comments
@jonocodes thoughts? |
Yes I have been thinking about how to present the docker setup once sailfrog/cypht-docker is no longer used. Generally docker compose is not used much in production but it does make a good starting point for describing how a contain is used. There are a bunch of scenarios that we can give compose files for since there are different configs.
But I will say for the most part these should just be 'tips' since they should be out of scope for this project. The part I have been hung up on is would these compose examples be better in a (wiki) doc, or in actual example docker-compose.yml files. The advantage being that as files we may actually consider them code and keep them tested and up to date. That being said traefik is nice. I personally am using caddy which is another a lightweight reverse proxy that auto-configs TLS, but only because I have not figured out why nginx is not happy in my local dev environment. |
@rodriguezny @Yannick243 @Shadow243 @josaphatim @kroky any wisdom? |
Sure, why not add the example traefik setup to a wiki page and later organize the docker documentation better - once we have an official docker image, docker-compose files, etc. can be shared as examples or distributed in specific folder here in the repo. |
Also worth looking at: https://frankenphp.dev/ |
馃棧 Suggestion
I saw the the issue #142 and the wiki page https://github.com/cypht-org/cypht/wiki/Reverse-Proxy-with-NGINX but I found nothing about the traefik reverse proxy.
After playing with the cypht docker image + traefik reverse proxy, I would like to share some instructions for the newcomers. It's really fast to deploy cypht with
https
on a sub-domain with the docker image + traefik.This
docker-compose.yml
is :http
port 80 on the hostConfigure a DNS entry to redirect
mydomain.com
and*.mydomain.com
to your server ip addressCreate the file
docker-compose.yml
and updatemydomain
andpassword
fields:build and start the containers:
docker compose up --build --detach
Access to cypht:
https://mail.mydomain.com
It could be added to a wiki page if you think it could help someone.
The text was updated successfully, but these errors were encountered: