Newer
Older
til / penpot / 20231107_penpot_new_user.md
@clewis clewis on 7 Nov 2023 1 KB til - penpot new user

2023-11-07

Create a new user in penpot using official Docker file

Edit docker-compose.yaml:

Under penpot-frontend: and penpot-backend

Add the following to the end of PENPOT_FLAGS: disable-secure-session-cookies enable-insecure-registration

Run command: docker compose up -d

Navigate to where penpot is hosted and create a new user account.
Once successfully created, bring down docker instance:
docker compose down

Under penpot-frontend change:
FROM
PENPOT_FLAGS=enable-registration enable-login-with-password disable-secure-session-cookies enable-insecure-registration

TO PENPOT_FLAGS=enable-login-with-password disable-registration enable-cors

Under penpot-backend change:
FROM
PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server disable-secure-session-cookies enable-insecure-registration

TO
PENPOT_FLAGS=enable-login-with-password disable-email-verification enable-smtp enable-prepl-server enable-cors

Bring up docker instance.