mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 16:56:38 +02:00
🐛 Fix default configuration
This commit is contained in:
parent
b2b221516c
commit
0b984a44d7
5 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export PENPOT_HOST=devenv
|
||||||
|
export PENPOT_TENANT=dev
|
||||||
|
export PENPOT_FLAGS="$PENPOT_FLAGS enable-backend-asserts enable-secure-session-cookies enable-audit-log enable-cors enable-transit-readable-response enable-demo-users"
|
||||||
|
|
||||||
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot"
|
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot"
|
||||||
# export PENPOT_DATABASE_USERNAME="penpot"
|
# export PENPOT_DATABASE_USERNAME="penpot"
|
||||||
# export PENPOT_DATABASE_PASSWORD="penpot"
|
# export PENPOT_DATABASE_PASSWORD="penpot"
|
||||||
|
@ -8,7 +12,6 @@
|
||||||
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot_pre"
|
# export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot_pre"
|
||||||
# export PENPOT_DATABASE_USERNAME="penpot_pre"
|
# export PENPOT_DATABASE_USERNAME="penpot_pre"
|
||||||
# export PENPOT_DATABASE_PASSWORD="penpot_pre"
|
# export PENPOT_DATABASE_PASSWORD="penpot_pre"
|
||||||
export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS"
|
|
||||||
|
|
||||||
# Initialize MINIO config
|
# Initialize MINIO config
|
||||||
# mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin
|
# mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export PENPOT_FLAGS="$PENPOT_FLAGS enable-asserts"
|
export PENPOT_HOST=devenv
|
||||||
|
export PENPOT_TENANT=dev
|
||||||
|
export PENPOT_FLAGS="$PENPOT_FLAGS enable-backend-asserts enable-audit-log enable-cors enable-transit-readable-response enable-demo-users"
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
|
|
@ -312,8 +312,7 @@
|
||||||
::tenant]))
|
::tenant]))
|
||||||
|
|
||||||
(def default-flags
|
(def default-flags
|
||||||
[:enable-backend-asserts
|
[:enable-backend-api-doc
|
||||||
:enable-backend-api-doc
|
|
||||||
:enable-secure-session-cookies])
|
:enable-secure-session-cookies])
|
||||||
|
|
||||||
(defn- parse-flags
|
(defn- parse-flags
|
||||||
|
|
|
@ -52,7 +52,6 @@ services:
|
||||||
- PENPOT_SMTP_PASSWORD=
|
- PENPOT_SMTP_PASSWORD=
|
||||||
- PENPOT_SMTP_SSL=false
|
- PENPOT_SMTP_SSL=false
|
||||||
- PENPOT_SMTP_TLS=false
|
- PENPOT_SMTP_TLS=false
|
||||||
- PENPOT_FLAGS="enable-cors enable-insecure-register enable-audit-log disable-secure-session-cookies"
|
|
||||||
|
|
||||||
# LDAP setup
|
# LDAP setup
|
||||||
- PENPOT_LDAP_HOST=ldap
|
- PENPOT_LDAP_HOST=ldap
|
||||||
|
@ -119,7 +118,6 @@ services:
|
||||||
- PENPOT_SMTP_PASSWORD=
|
- PENPOT_SMTP_PASSWORD=
|
||||||
- PENPOT_SMTP_SSL=false
|
- PENPOT_SMTP_SSL=false
|
||||||
- PENPOT_SMTP_TLS=false
|
- PENPOT_SMTP_TLS=false
|
||||||
- PENPOT_FLAGS="enable-cors enable-audit-log"
|
|
||||||
|
|
||||||
# LDAP setup
|
# LDAP setup
|
||||||
- PENPOT_LDAP_HOST=ldap
|
- PENPOT_LDAP_HOST=ldap
|
||||||
|
|
|
@ -40,7 +40,7 @@ PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
||||||
|
|
||||||
# Feature flags. Right now they are only affect frontend, but in
|
# Feature flags. Right now they are only affect frontend, but in
|
||||||
# future release they will affect to both backend and frontend.
|
# future release they will affect to both backend and frontend.
|
||||||
PENPOT_FLAGS="enable-registration enable-demo-users"
|
PENPOT_FLAGS="enable-registration"
|
||||||
|
|
||||||
# Comma separated list of allowed domains to register. Empty to allow all.
|
# Comma separated list of allowed domains to register. Empty to allow all.
|
||||||
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue