Merge pull request #1 from angristan/master

update to head repo
This commit is contained in:
Rick
2019-06-27 23:26:04 +02:00
committed by GitHub
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM elixir:1.7-alpine
FROM elixir:1.8-alpine
ENV UID=911 GID=911 \
MIX_ENV=prod
@ -26,7 +26,6 @@ RUN mix local.rebar --force \
&& mix deps.get \
&& mix compile
RUN mkdir /pleroma/uploads
VOLUME /pleroma/uploads/
CMD ["mix", "phx.server"]

View File

@ -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