mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-26 23:50:08 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
100 lines
3.7 KiB
YAML
100 lines
3.7 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: penpot_penpot-frontend_1
|
|
APP_PORT: 8080
|
|
# Can consider disabling auth all together. Penpot has its own auth system.
|
|
PROXY_AUTH_WHITELIST: "/api/*"
|
|
|
|
penpot-frontend:
|
|
image: penpotapp/frontend:2.19.0@sha256:20d98bed840ba947af25f0c634c1cf0913ca3d02e27eb9cb7f7f6569b65e2b78
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/assets:/opt/data/assets
|
|
environment:
|
|
- PENPOT_FLAGS=enable-registration enable-login-with-password
|
|
- PENPOT_ADMIN_CONSOLE_URI=http://penpot-admin-console:3000
|
|
depends_on:
|
|
- penpot-backend
|
|
- penpot-exporter
|
|
- penpot-mcp
|
|
- penpot-admin-console
|
|
restart: on-failure
|
|
|
|
penpot-backend:
|
|
image: penpotapp/backend:2.19.0@sha256:b2dc4f516de4aab825f1804211e4124f93bafd40bb848822ab303f162cb3b187
|
|
# user 1000:1000 to avoid permission issues when importing libraries and templates
|
|
user: "1000:1000"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/assets:/opt/data/assets
|
|
environment:
|
|
- PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification disable-smtp enable-prepl-server disable-secure-session-cookies
|
|
- PENPOT_SECRET_KEY=${APP_SEED}
|
|
- PENPOT_ADMIN_CONSOLE_URI=http://penpot-admin-console:3000
|
|
- PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
|
- PENPOT_DATABASE_USERNAME=penpot
|
|
- PENPOT_DATABASE_PASSWORD=penpot
|
|
- PENPOT_REDIS_URI=redis://penpot_penpot-valkey_1/0
|
|
- PENPOT_OBJECTS_STORAGE_BACKEND=fs
|
|
- PENPOT_OBJECTS_STORAGE_FS_DIRECTORY=/opt/data/assets
|
|
- PENPOT_TELEMETRY_ENABLED=false
|
|
# PENPOT_PUBLIC_URI needs to be set to in order to render thumbnails in the frontend
|
|
- PENPOT_PUBLIC_URI=http://${DEVICE_DOMAIN_NAME}:${APP_PENPOT_UI_PORT}
|
|
depends_on:
|
|
- penpot-postgres
|
|
- penpot-valkey
|
|
restart: on-failure
|
|
|
|
penpot-exporter:
|
|
image: penpotapp/exporter:2.19.0@sha256:63b9f5d23c80f3b952f5d7feba71a45ac8bb05281e877071f6bba625bb51db66
|
|
user: "1000:1000"
|
|
environment:
|
|
- PENPOT_SECRET_KEY=${APP_SEED}
|
|
- PENPOT_PUBLIC_URI=http://${DEVICE_DOMAIN_NAME}:${APP_PENPOT_UI_PORT}
|
|
- PENPOT_INTERNAL_URI=http://penpot-frontend:8080
|
|
- PENPOT_REDIS_URI=redis://penpot_penpot-valkey_1/0
|
|
restart: on-failure
|
|
|
|
penpot-mcp:
|
|
image: penpotapp/mcp:2.19.0@sha256:83f87b53be118fd3b2a98159c2e77585859195b0f99b6edeb5b73fca642a75d8
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
|
|
penpot-admin-console:
|
|
image: penpotapp/admin-console:2.19.0@sha256:219be5299f1f3f5a201a06778816801db09e77d55d1d4b7bf370a933c76c573e
|
|
environment:
|
|
- PENPOT_PUBLIC_URI=http://${DEVICE_DOMAIN_NAME}:${APP_PENPOT_UI_PORT}
|
|
- PENPOT_INTERNAL_URI=http://penpot-frontend:8080
|
|
- PENPOT_SECRET_KEY=${APP_SEED}
|
|
- PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
|
- PENPOT_DATABASE_USERNAME=penpot
|
|
- PENPOT_DATABASE_PASSWORD=penpot
|
|
depends_on:
|
|
- penpot-postgres
|
|
restart: on-failure
|
|
|
|
penpot-postgres:
|
|
image: postgres:15@sha256:546445ad21cb5893c0997080b831ee45945e798c4359270e16413c8bd93575db
|
|
user: "1000:1000"
|
|
stop_signal: SIGINT
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_INITDB_ARGS=--data-checksums
|
|
- POSTGRES_DB=penpot
|
|
- POSTGRES_USER=penpot
|
|
- POSTGRES_PASSWORD=penpot
|
|
restart: on-failure
|
|
|
|
penpot-valkey:
|
|
image: valkey/valkey:8.1.3@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "valkey-cli ping | grep PONG"]
|
|
interval: 1s
|
|
timeout: 3s
|
|
retries: 5
|
|
start_period: 3s
|