bump to v2 + add redis + penpot docker network
This commit is contained in:
parent
a482ce6bc6
commit
a531de45be
57
README.md
57
README.md
@ -1,3 +1,58 @@
|
||||
# PENPOT
|
||||
|
||||
## TO DO
|
||||
Penpot is an open source figma like website modeling
|
||||
|
||||
## PRE REQUIS :paperclip:
|
||||
|
||||
- Debian 12
|
||||
- Docker :whale:
|
||||
|
||||
## CONFIG :wrench:
|
||||
|
||||
#### config.env
|
||||
|
||||
- Base:
|
||||
|
||||
```
|
||||
PENPOT_PUBLIC_URI=https://penpot.domaine.fr
|
||||
```
|
||||
|
||||
> Modifier pour l'URL de votre instance Penpot
|
||||
|
||||
- Mail:
|
||||
|
||||
```
|
||||
PENPOT_SMTP_DEFAULT_FROM=contact@mail.com
|
||||
PENPOT_SMTP_DEFAULT_REPLY_TO=contact@mail.com
|
||||
PENPOT_SMTP_HOST=mail.provider.net
|
||||
PENPOT_SMTP_PORT=587
|
||||
PENPOT_SMTP_USERNAME=contact@mail.com
|
||||
PENPOT_SMTP_PASSWORD=Pa55w0rd
|
||||
PENPOT_SMTP_TLS=true
|
||||
```
|
||||
|
||||
> Modifier ces infos pour permettre à Penpot d'envoyer des mails
|
||||
|
||||
- Openid:
|
||||
|
||||
```
|
||||
PENPOT_OIDC_BASE_URI=https://keycloak.domaine.fr/auth/realms/exemple/
|
||||
PENPOT_OIDC_CLIENT_ID=penpot
|
||||
PENPOT_OIDC_CLIENT_SECRET=<from-keycloak>
|
||||
PENPOT_OIDC_AUTH_URI:http://keycloak.domaine.fr/login/oauth/authorize
|
||||
PENPOT_OIDC_TOKEN_URI:"http://keycloak.domaine.fr/login/oauth/access_token
|
||||
PENPOT_OIDC_USER_URI:"http://keycloak.domaine.fr/login/oauth/userinfo
|
||||
```
|
||||
|
||||
> Modifier les noms de domaines keycloak ainsi que le PENPOT_OIDC_CLIENT_SECRET
|
||||
|
||||
## UTILISATION :rocket:
|
||||
|
||||
```
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
#### code source
|
||||
|
||||
[penpot source code](https://github.com/penpot/penpot)
|
||||
[License](https://github.com/penpot/penpot/blob/develop/LICENSE)
|
||||
@ -47,7 +47,8 @@ PENPOT_FLAGS=disable-registration disable-demo-users enable-login-with-oidc
|
||||
|
||||
|
||||
# Comma separated list of allowed domains to register. Empty to allow all.
|
||||
PENPOT_REGISTRATION_DOMAIN_WHITELIST=*.domaine.fr
|
||||
# BUG IN 2.0
|
||||
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=*.domaine.fr
|
||||
|
||||
## Authentication providers
|
||||
# Google
|
||||
|
||||
4
config.js
Normal file
4
config.js
Normal file
@ -0,0 +1,4 @@
|
||||
// Frontend configuration
|
||||
|
||||
var penpotOIDCClientID = "penpot";
|
||||
var penpotFlags = "disable-demo-users disable-login enable-login-with-oidc";
|
||||
@ -2,7 +2,8 @@ version: "3.5"
|
||||
|
||||
services:
|
||||
penpot-frontend:
|
||||
image: "penpotapp/frontend:latest"
|
||||
image: "penpotapp/frontend:2.0.1"
|
||||
container_name: penpot-front
|
||||
ports:
|
||||
- 9801:80
|
||||
volumes:
|
||||
@ -16,7 +17,8 @@ services:
|
||||
- penpot
|
||||
|
||||
penpot-backend:
|
||||
image: "penpotapp/backend:latest"
|
||||
image: "penpotapp/backend:2.0.1"
|
||||
container_name: penpot-back
|
||||
volumes:
|
||||
- /data/penpot/penpot_assets_data:/opt/data
|
||||
depends_on:
|
||||
@ -28,7 +30,8 @@ services:
|
||||
- penpot
|
||||
|
||||
penpot-exporter:
|
||||
image: "penpotapp/exporter:latest"
|
||||
image: "penpotapp/exporter:2.0.1"
|
||||
container_name: exporter-frontend
|
||||
env_file:
|
||||
- config.env
|
||||
environment:
|
||||
@ -39,7 +42,8 @@ services:
|
||||
- penpot
|
||||
|
||||
penpot-postgres:
|
||||
image: "postgres:13"
|
||||
image: "postgres:15"
|
||||
container_name: penpot-db
|
||||
restart: always
|
||||
stop_signal: SIGINT
|
||||
environment:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user