Fix init_admin and self-hosted sample vars (#262)

* Fix init_admin

* Fix DB url in sample vars
pull/269/head
Felix Krull 6 years ago committed by GitHub
parent 9137fe1fd5
commit f05dbe1a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,7 @@ defmodule Plausible.Release do
]
def init_admin do
prepare()
{admin_email, admin_user, admin_pwd} =
validate_admin(
{Application.get_env(:plausible, :admin_email),

@ -3,7 +3,7 @@ PORT=8080
SECRET_KEY_BASE=iYb1mP5cnmY+gUxo7C/h6XMigossPhzwd8/ic6LFnQ9Y58Fl1xduSWaPq0fHDdbn
SIGNING_SALT=PL/THF0VMOzuv1bOcldjDzYFBLryvXNs
HOST=localhost
DATABASE_URL=postgres://postgres:postgres@plausible_db:5432/plausible
DATABASE_URL=postgres://postgres:postgres@plausible_db:5432/plausible_db
DATABASE_TLS_ENABLED=false
ADMIN_USER_NAME=admin
ADMIN_USER_EMAIL=admin@plausible.local

Loading…
Cancel
Save