Skip to content

Commit

Permalink
build(docker): allow setting an administrator locally
Browse files Browse the repository at this point in the history
This change sets up the environment variable required to mark a user as an administrator.

It relies on having PREREVIEW_ADMIN_USERS in the local environment.

Refs #390
  • Loading branch information
thewilkybarkid committed Sep 10, 2021
1 parent e7aaa48 commit 17cce4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
ports:
- "3000:3000"
environment:
PREREVIEW_ADMIN_USERS:
PREREVIEW_LOG_LEVEL: ${PREREVIEW_LOG_LEVEL:-debug}
PREREVIEW_HOST: ${PREREVIEW_HOST:-0.0.0.0}
PREREVIEW_PORT: ${PREREVIEW_PORT:-3000}
Expand Down

0 comments on commit 17cce4e

Please sign in to comment.