mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #1010] Create wiki page 'Reverse Proxy with traefik' #538
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#538
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GuillaumeLazar on GitHub (May 7, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1010
🗣 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
httpson a sub-domain with the docker image + traefik.This
docker-compose.ymlis :httpport 80 on the hostConfigure a DNS entry to redirect
mydomain.comand*.mydomain.comto your server ip addressCreate the file
docker-compose.ymland updatemydomainandpasswordfields:build and start the containers:
docker compose up --build --detachAccess to cypht:
https://mail.mydomain.comIt could be added to a wiki page if you think it could help someone.
@marclaporte commented on GitHub (May 9, 2024):
@jonocodes thoughts?
@jonocodes commented on GitHub (May 9, 2024):
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.
@marclaporte commented on GitHub (May 12, 2024):
@rodriguezny @Yannick243 @Shadow243 @josaphatim @kroky any wisdom?
@kroky commented on GitHub (May 13, 2024):
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.
@jonocodes commented on GitHub (May 30, 2024):
Also worth looking at: https://frankenphp.dev/
@marclaporte commented on GitHub (Sep 28, 2024):
@GuillaumeLazar
Can you please review now that we have an official and revamped Docker? https://hub.docker.com/r/cypht/cypht
Thanks!
@marclaporte commented on GitHub (Sep 1, 2025):
@GuillaumeLazar we need you :-)