Skip to content

Commit

Permalink
Add working docker-compose config & link in README (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter authored Mar 15, 2021
1 parent 2a91873 commit 0a2d35d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ to SMTP.

Keila is ready for you to send newsletters with!

You can easily deploy it using the official Docker image `pentacent/keila`.
You can easily deploy it using the official Docker image `pentacent/keila` or use the [Docker Compose config](ops/docker-compose.yml) in this repo.

Follow the [Installation Docs](https://keila.io/docs/installation)
for more details.
Expand Down Expand Up @@ -52,3 +52,4 @@ License, or (at your option) any later version.
For more details, please [read the full license here](LICENSE.md).

Please note that the Keila logo is not subject to the aforementioned license.

26 changes: 26 additions & 0 deletions ops/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3"

services:
keila:
image: pentacent/keila:latest
ports:
- "4000:4000"
depends_on:
- postgres
build:
context: .
environment:
SECRET_KEY_BASE: "${YOUR_SECRET_KEY}"
DB_URL: "postgres://postgres:postgres@postgres/postgres"
URL_HOST: "${YOUR_URL_HOST}"
MAILER_SMTP_HOST: "${YOUR_MAILER_SMTP_HOST}"
MAILER_SMTP_USER: "${YOUR_MAILER_SMTP_USER}"
MAILER_SMTP_PASSWORD: "${YOUR_MAILER_SMTP_PASSWORD}"

postgres:
image: postgres:alpine
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres

0 comments on commit 0a2d35d

Please sign in to comment.