Hey there,
Using the docker-compose.yaml example, I cannot get multi-editor working on the self-hosted version of penpot.
The docker file I have setup is
x-flags: &penpot-flags
PENPOT_FLAGS: disable-email-verification enable-smtp enable-prepl-server disable-secure-session-cookies
x-uri: &penpot-public-uri
PENPOT_PUBLIC_URI: http://localhost:9001
x-body-size: &penpot-http-body-size
# Max body size (30MiB); Used for plain requests, should never be
# greater than multi-part size
PENPOT_HTTP_SERVER_MAX_BODY_SIZE: 31457280
# Max multipart body size (350MiB)
PENPOT_HTTP_SERVER_MAX_MULTIPART_BODY_SIZE: 367001600
networks:
penpot:
volumes:
penpot_postgres_v15:
penpot_assets:
services:
penpot-frontend:
image: "penpotapp/frontend:latest"
restart: always
ports:
- 9001:8080
volumes:
- ./penpot_assets:/opt/data/assets
depends_on:
- penpot-backend
- penpot-exporter
networks:
- penpot
environment:
- PENPOT_FLAGS=disable-registration enable-login-with-password
penpot-backend:
image: "penpotapp/backend:latest"
restart: always
volumes:
- ./penpot_assets:/opt/data/assets
depends_on:
penpot-postgres:
condition: service_healthy
penpot-redis:
condition: service_healthy
networks:
- penpot
environment:
- PENPOT_FLAGS=disable-dashboard-templates-section disable-onboarding enable-registration enable-login-with-password enable-secure-session-cookies enable-email-verification enable-smtp enable-prepl-server
- PENPOT_SECRET_KEY=*********************
# - PENPOT_PREPL_HOST=0.0.0.0
- PENPOT_PUBLIC_URI=https://design.***.ca
- 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
# AWS Credentials
- AWS_ACCESS_KEY_ID=********************
- AWS_SECRET_ACCESS_KEY=*****************
# Backend configuration
- PENPOT_ASSETS_STORAGE_BACKEND=assets-s3
- PENPOT_STORAGE_ASSETS_S3_REGION=***************
- PENPOT_STORAGE_ASSETS_S3_BUCKET=*************
# Optional if you want to use it with non AWS, S3 compatible service:
- PENPOT_STORAGE_ASSETS_S3_ENDPOINT=https://********************
- PENPOT_TELEMETRY_ENABLED=true
- PENPOT_SMTP_DEFAULT_FROM=noreply@***.ca
- PENPOT_SMTP_DEFAULT_REPLY_TO=noreply@***.ca
- PENPOT_SMTP_HOST=mail.***.ca
- PENPOT_SMTP_PORT=465
- PENPOT_SMTP_USERNAME=noreply@***.ca
- PENPOT_SMTP_PASSWORD=********************
- PENPOT_SMTP_TLS=true
- PENPOT_SMTP_SSL=true
penpot-exporter:
image: "penpotapp/exporter:latest"
restart: always
depends_on:
penpot-redis:
condition: service_healthy
networks:
- penpot
environment:
# Don't touch it; this uses an internal docker network to
# communicate with the frontend.
PENPOT_PUBLIC_URI: http://penpot-frontend:8080
## Redis is used for the websockets notifications.
PENPOT_REDIS_URI: redis://penpot-redis/0
penpot-postgres:
image: "postgres:15"
restart: always
stop_signal: SIGINT
healthcheck:
test: ["CMD-SHELL", "pg_isready -U penpot"]
interval: 2s
timeout: 10s
retries: 5
start_period: 2s
volumes:
- penpot_postgres_v15:/var/lib/postgresql/data
networks:
- penpot
environment:
- POSTGRES_INITDB_ARGS=--data-checksums
- POSTGRES_DB=penpot
- POSTGRES_USER=penpot
- POSTGRES_PASSWORD=penpot
penpot-redis:
image: redis:7.2
restart: always
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 1s
timeout: 3s
retries: 5
start_period: 3s
networks:
- penpot
penpot-mailcatch:
image: sj26/mailcatcher:latest
restart: always
expose:
- '1025'
ports:
- "1080:1080"
networks:
- penpot
I really appreciate the help!