mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-25 07:04:31 +03:00
69 lines
2.5 KiB
YAML
69 lines
2.5 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.6.1@sha256:5a1afc4972bf81be3473945f47bbce50513dc4cd47b5f2282d52b13132359b73
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/assets:/opt/data/assets
|
|
environment:
|
|
- PENPOT_FLAGS=enable-registration enable-login-with-password
|
|
depends_on:
|
|
- penpot-backend
|
|
- penpot-exporter
|
|
restart: on-failure
|
|
|
|
penpot-backend:
|
|
image: penpotapp/backend:2.6.1@sha256:a074efc1d0de69ceb1d4533248d78bdb960d1dd96d380e1f259ec2b941bff5dc
|
|
# 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_DATABASE_URI=postgresql://penpot-postgres/penpot
|
|
- PENPOT_DATABASE_USERNAME=penpot
|
|
- PENPOT_DATABASE_PASSWORD=penpot
|
|
- PENPOT_REDIS_URI=redis://penpot-redis/0
|
|
- PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
|
|
- PENPOT_STORAGE_ASSETS_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-redis
|
|
restart: on-failure
|
|
|
|
penpot-exporter:
|
|
image: penpotapp/exporter:2.6.1@sha256:48c473819c2c51b65885e52e1c47fa4d26aeabab6c2919fbcb7a51aeadccac38
|
|
user: "1000:1000"
|
|
environment:
|
|
- PENPOT_PUBLIC_URI=http://penpot-frontend
|
|
- PENPOT_REDIS_URI=redis://penpot-redis/0
|
|
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-redis:
|
|
image: redis:7@sha256:45bfd95117a171ff9c1b5304bdae80a7a61eb5bbf0793d6a86c9078526ad88fa
|
|
user: "1000:1000"
|
|
restart: on-failure
|