From c65299c86326e4840e905e38a3ef8a549cb69a95 Mon Sep 17 00:00:00 2001 From: Chris F Ravenscroft Date: Mon, 20 May 2019 02:57:05 -0700 Subject: [PATCH] Need to build a second time (#6) After the `secret.exs` file is updated with the correct push keys, it needs to be included in the image. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ac002cb..8566831 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ docker-compose build docker build -t pleroma . ``` -I prefer the later because it's more verbose. +I prefer the latter because it's more verbose. Setup the database: @@ -136,6 +136,14 @@ Get your web push keys and copy them to `secret.exs`: docker-compose run --rm web mix web_push.gen.keypair ``` +You will need to build the image again, to pick up your updated `secret.exs` file: + +``` +docker-compose build +# or +docker build -t pleroma . +``` + You can now launch your instance: ```sh