-
-
Notifications
You must be signed in to change notification settings - Fork 39
Add installation using Docker Compose and many other improvements for implementation in Docker. #614
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
Closed
Closed
Add installation using Docker Compose and many other improvements for implementation in Docker. #614
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
3826de8
Add installation via docker compose (MVP 1)
5aef295
Merge branch 'main' into docker
b81e471
Merge pull request #1 from Keonik1/docker
Keonik1 4a92e50
Update Changelog
6425a83
Fix description for is_development_instance option
1c4c7b9
revert page-layout logo link
aea6366
rename dockerfile
b6dce61
add port 80 to docker-compose-default
a6e5b9e
add 465 port
a01eebe
add RECREATE_VENV var
d545fc8
Add traefik config files
9037409
change "restart nginx" to "reload nginx"
dc6d8b4
pass values to `MAIL_DOMAIN` and `ACME_EMAIL` from vars for docker-co…
4fc672c
Fix bug with attaching certs
4c42d0f
fix for lint test
87615b6
fix docs - nginx "restart" to "reload"
1b3f419
Delete ssh connection from docker installation
d5329fa
Fix issue with acmetool
5dcb002
delete default value for ACME_EMAIL
f027afd
delete sudo from traefik init container cmd
e1ca74e
fix unlink if default nginx conf is not exist
c372c55
try to fix tests
929383d
fix docs; revert tests
910eeea
Fix colored output file; return original exit code
a1301fa
add a workaround to pass the test_init_not_overwrite test
3d51c08
set dafault value for fs_inotify_max_user_instances_and_watchers param
a3c5c73
delete after a decision has been made during the discussion
3c14692
fix wording
657a00d
make posix compattable if statements
490776e
Add comment why variables are passed in setup_chatmail.service
ed3cba7
delete CERTS_ROOT_DIR_HOST. Add hardcoded paths to certificates
87ac465
Add the ability to render the site only in the preferred languages
b86c977
- pedantic fix
74faefa
delete ancestral legacy
dfe2c00
delete tabs if only one language selected
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,3 +164,10 @@ cython_debug/ | |
| #.idea/ | ||
|
|
||
| chatmail.zone | ||
|
|
||
| # docker | ||
| /data/ | ||
| /custom/ | ||
| docker-compose.yaml | ||
| .env | ||
| /traefik/data/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,22 +74,23 @@ Please substitute it with your own domain. | |
| ``` | ||
| git clone https://github.com/chatmail/relay | ||
| cd relay | ||
| scripts/initenv.sh | ||
| ``` | ||
|
|
||
| 3. On your local PC, create chatmail configuration file `chatmail.ini`: | ||
| ### Manual installation | ||
| 1. On your local PC, create chatmail configuration file `chatmail.ini`: | ||
|
|
||
| ``` | ||
| scripts/initenv.sh | ||
| scripts/cmdeploy init chat.example.org # <-- use your domain | ||
| ``` | ||
|
|
||
| 4. Verify that SSH root login to your remote server works: | ||
| 2. Verify that SSH root login to your remote server works: | ||
|
|
||
| ``` | ||
| ssh [email protected] # <-- use your domain | ||
| ``` | ||
|
|
||
| 5. From your local PC, deploy the remote chatmail relay server: | ||
| 3. From your local PC, deploy the remote chatmail relay server: | ||
|
|
||
| ``` | ||
| scripts/cmdeploy run | ||
|
|
@@ -99,6 +100,9 @@ Please substitute it with your own domain. | |
| which you should configure at your DNS provider | ||
| (it can take some time until they are public). | ||
|
|
||
| ### Docker installation | ||
| Installation using docker compose is presented [here](./docs/DOCKER_INSTALLATION_EN.md) | ||
|
|
||
| ### Other helpful commands | ||
|
|
||
| To check the status of your remotely running chatmail service: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ dependencies = [ | |
| "pytest-xdist", | ||
| "execnet", | ||
| "imap_tools", | ||
| "pymdown-extensions", | ||
| ] | ||
|
|
||
| [project.scripts] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 is a good quick fix, maybe we can add something like this to the
cmdeploy dnscalls as well, so they don't try to request DNS records from the chatmail relay itself, but from the local (docker) host.