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:
FROMPENPOT_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:
FROMPENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server disable-secure-session-cookies enable-insecure-registration
TOPENPOT_FLAGS=enable-login-with-password disable-email-verification enable-smtp enable-prepl-server enable-cors
Bring up docker instance.