change cert mounting points
This commit is contained in:
parent
ad7e2b8183
commit
fb5a72e3f4
3 changed files with 4 additions and 4 deletions
|
@ -32,3 +32,4 @@ docker-compose exec mobilizon mix mobilizon.users.new "your@email.com" --admin -
|
|||
```
|
||||
|
||||
8. Get the logs via `docker-compose logs -f <container_name>` or `make logs`.
|
||||
|
||||
|
|
|
@ -42,8 +42,7 @@ services:
|
|||
volumes:
|
||||
- "./mobilizon/mobilizon:/app"
|
||||
- "./mobilizon/dev.exs:/app/config/dev.exs"
|
||||
- "./certs/lan-key.pem:/app/priv/server.key:ro"
|
||||
- "./certs/lan.pem:/app/priv/server.pem:ro"
|
||||
- "./certs/:/app/priv/certs/:ro"
|
||||
- "/etc/ssl/certs/ca-certificates.crt:/app/priv/ca-bundle.crt:ro"
|
||||
depends_on:
|
||||
- postgres
|
||||
|
|
|
@ -3,8 +3,8 @@ import Config
|
|||
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||
https: [
|
||||
port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "4000")),
|
||||
keyfile: "priv/server.key",
|
||||
certfile: "priv/server.pem"
|
||||
keyfile: "priv/certs/lan-key.pem",
|
||||
certfile: "priv/certs/lan.pem"
|
||||
],
|
||||
url: [
|
||||
host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.local"),
|
||||
|
|
Loading…
Reference in a new issue