Add configuration for air gapped installations (#6567)

This commit is contained in:
Yamila Moreno 2025-05-29 10:34:47 +02:00 committed by GitHub
parent 75170bb043
commit 6fc63f14a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 99 additions and 68 deletions

View file

@ -366,7 +366,7 @@ PENPOT_REDIS_URI: redis://localhost/0
PENPOT_REDIS_URI: redis://localhost/0
```
If you are using the official docker compose file, this is already configurRed.
If you are using the official docker compose file, this is already configured.
## Demo environment
@ -392,6 +392,22 @@ verification process:
PENPOT_FLAGS: disable-email-verification enable-demo-warning
```
## Air gapped environments
The current Penpot installation defaults to several external proxies:
- to Github, from where the libraries and templates are downloaded
- to Google, from where the google-fonts are downloaded.
This is implemented as specific locations in the penpot-front Nginx. If your organization needs to install Penpot
in a 100% air-gapped environment, you can use the following configuration:
```bash
PENPOT_FLAGS: enable-air-gapped-conf
```
When Penpot starts, it will leave out the Nginx configuration related to external requests. This means that,
with this flag enabled, the Penpot configuration will disable as well the libraries and templates dashboard and the use of Google fonts.
## Backend
This section enumerates the backend only configuration variables.