Commit graph

13 commits

Author SHA1 Message Date
Kailash Nadh
afd5db994a Fix incorrect image tag in docker-compose. 2024-10-27 18:00:30 +05:30
Kailash Nadh
7fcc6f71e2 Simplify and refactor docker-compose.yml and remove install scripts.
- Remove "demo", "production" containers and have just one.
- Remove dependency on config.toml and inline config to env vars.
- Have a single idempotent instal+upgrade+run command that eliminates
  the need for manual upgrade steps.
- Remove `.sh` install scripts.
- Simplify and clean up install and update docs.
2024-10-27 15:36:35 +05:30
Kailash Nadh
906e0f57b6 Refactor handler groups and add mising auth features like logout. 2024-10-13 16:59:51 +05:30
Janek
98fed80b80
Slightly improve docker-compose feedback (#2054) 2024-10-04 10:28:22 +05:30
Easton Man
1819480153
docs: suggest an FQDN in docker compose file (#2019)
The 'hostname' field in the docker-compose file is later used in Listmonk to generate the 'Message-Id' of each mail. The hostname is used as the id-right section of 'Message-Id'.

According to RFC 2822 3.6.4, id-right = dot-atom-text / no-fold-literal / obs-id-right 
Also, Rspamd has a spam filtering field 'MID_RHS_NOT_FQDN' which defaults to a 1.0 score.

This commit suggests an FQDN in the docker-compose file, which is guaranteed to meet the requirement.
2024-08-27 22:11:49 +05:30
relikd
2ce2a11c7e
feat: docker compose use alpine for postgres (#1603) 2023-11-24 14:48:57 +05:30
Karan Sharma
e4d8286535 feat: Add timezone config in app container
Adds `tzdata` in the `Dockerfile` of the app so that
user can pass a `TZ` env variable to the container to configure
their timezone information.
2021-12-29 11:42:04 +05:30
Kailash Nadh
0db6f0c866 Bump Postgres version to 13 in example Docker setup. 2021-09-27 20:38:24 +05:30
Karan Sharma
8d40422e0f feat: Add easy install script
- Add a shell script to orchestrate a production setup with
`docker-compose`. The script fetches config and `docker-compose.yml`
from the `master` branch, generates a secure password, performs DB
migrations and starts the container services.

- Add a health check for Postgres container service in `docker-compose.yml`.

- Add cusotm `container_name` for services inside `docker-compose`.
This is helpful to check the status of containers in the install shell script.
2021-06-15 18:38:45 +05:30
Tamal Saha
8a9b3efbb0 Fix indentation of docker-compose file
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 15:07:20 +05:30
Karan Sharma
06bb719a7b feat: Add separate config for demo setup, tweak docs
This PR adds `config-demo.toml` to `Dockerfile` which uses the db host
`demo-db`. This is more suited for demo setups. For normal docker installations
the db host is changed back to `db` which is a better sane default.
Reworded `INSTALL.md` and `README.md` for more clarity on docker
installation and configuration.
2020-07-08 22:38:31 +05:30
karan
728d1c26e7 feat: Add docker demo setup 2019-07-12 14:03:54 +05:30
mr-karan
bdc837d03f feat: Create docker release
- Updates `.goreleaser.yml` to add docker build step
- Adds `Dockerfile` for listmonk
- Adds `docker-compose.yml` for reference.
2019-07-12 07:52:05 +05:30