Commit graph

8 commits

Author SHA1 Message Date
Karan Sharma
00a44c01a4
fix: easy install docker script for macOS (#1742)
* feat: fix easy install docker script for macOS

Closes https://github.com/knadh/listmonk/issues/1740

* fix: use bash shebang for wider compatibility

* fix: quote the command subst to prevent word splitting
2024-02-21 13:11:38 +05:30
Karan Sharma
5664e5cc9f
fix: replace docker-compose with docker compose (#1490)
Fixes https://github.com/knadh/listmonk/issues/1431
2023-08-28 20:13:03 +05:30
Kailash Nadh
e317f2c5ff Modify sed flag based on OS. Closes #1474.
Co-authored-by: Holden Moreland <holden@hdmoreland.com>
2023-08-27 13:32:57 +05:30
Karan Sharma
c9189a12d1
fix(install-prod.sh): Make tr work with macOS
Fixes https://github.com/knadh/listmonk/issues/624

Source https://unix.stackexchange.com/questions/230673/how-to-generate-a-random-string#comment393964_230684
2021-12-15 14:44:00 +05:30
Karan Sharma
6cd7d669c1 fix: Add a check for existing docker db volume
Fixes https://github.com/knadh/listmonk/issues/517
2021-10-18 10:08:02 +05:30
Tushar Sadhwani
2edd3ec800 Fix whitespace inconsistency in install scripts 2021-08-28 19:13:51 +05:30
Karan Sharma
4d8e73b654 fix colorized output in terminal
Closes https://github.com/knadh/listmonk/issues/422
2021-07-22 16:35:47 +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