Skip to content

Commit

Permalink
Default disable registrations in portainer
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioisidoro committed Feb 22, 2022
1 parent 0d443ad commit 68b2a10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions portainer/portainer-templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"stackfile": "portainer/stacks/plausible/docker-compose.yml"
},
"env": [
{
"name":"DISABLE_REGISTRATION",
"label":"Disable registration",
"description":"If true disables registrations. Registrations also won't work for invites",
"default": "true"
},
{
"name":"ADMIN_USER_EMAIL",
"label":"Administrator email",
Expand Down
1 change: 1 addition & 0 deletions portainer/stacks/plausible/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ services:
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
CLICKHOUSE_DATABASE_URL: http://plausible_events_db:8123/plausible_events_db
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@plausible_db/${POSTGRES_DB}
DISABLE_REGISTRATION: ${DISABLE_REGISTRATION}

volumes:
db-data:
Expand Down

0 comments on commit 68b2a10

Please sign in to comment.