From 3ed39a4f569f70404a968dda31a3199515408efd Mon Sep 17 00:00:00 2001 From: mr-karan Date: Fri, 12 Jul 2019 07:51:48 +0530 Subject: [PATCH] feat: Add docker instructions --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 49312e8..962a7b1 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ listmonk is a standalone, self-hosted, newsletter and mailing list manager. It i - Visit `http://localhost:9000`. - Since there is no user auth yet, it's best to put listmonk behind a proxy like Nginx and setup basicauth on all endpoints except for the few endpoints that need to be public. Here is a [sample nginx config](https://github.com/knadh/listmonk/wiki/Production-Nginx-config) for production use. +### Running on Docker + +You can checkout the [docker-compose.yml](docker-compose.yml) to get an idea of how to run `listmonk` with `PostgreSQL` together using Docker. + +- `docker-compose up -d` to run all the services together. +- `docker-compose run --rm app ./listmonk --install --config /etc/listmonk/config.toml` to setup the DB. +- Visit `http://localhost:9000`. + ### Help and docs [Help and documentation](https://listmonk.app/docs) (work in progress).