mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
90 lines
2 KiB
YAML
90 lines
2 KiB
YAML
---
|
|
version: "3.5"
|
|
|
|
networks:
|
|
penpot:
|
|
|
|
volumes:
|
|
postgres_data:
|
|
user_data:
|
|
backend_data:
|
|
|
|
services:
|
|
penpot-frontend:
|
|
image: "penpotapp/frontend:develop"
|
|
ports:
|
|
- 8080:80
|
|
|
|
volumes:
|
|
- backend_data:/opt/data
|
|
|
|
depends_on:
|
|
- penpot-backend
|
|
- penpot-exporter
|
|
networks:
|
|
- penpot
|
|
|
|
penpot-backend:
|
|
image: "penpotapp/backend:develop"
|
|
volumes:
|
|
- backend_data:/opt/data
|
|
|
|
depends_on:
|
|
- penpot-postgres
|
|
- penpot-redis
|
|
|
|
environment:
|
|
- PENPOT_ASSERTS_ENABLED=false
|
|
- PENPOT_DEBUG=false
|
|
- PENPOT_HOST=example.penpot
|
|
- PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
|
- PENPOT_DATABASE_USERNAME=penpot
|
|
- PENPOT_DATABASE_PASSWORD=penpot
|
|
- PENPOT_REDIS_URI=redis://penpot-redis/0
|
|
- PENPOT_STORAGE_FS_DIRECTORY_=/opt/data/assets
|
|
- PENPOT_STORAGE_FS_URI=http://penpot-frontend/internal/assets
|
|
- PENPOT_STORAGE_BACKEND=fs
|
|
- PENPOT_SMTP_ENABLED=false
|
|
- PENPOT_SMTP_DEFAULT_FROM=no-reply@example.com
|
|
- PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
|
- PENPOT_SECRET_KEY=provide-here-a-secret-random-key
|
|
# - PENPOT_SMTP_HOST=...
|
|
# - PENPOT_SMTP_PORT=...
|
|
# - PENPOT_SMTP_USERNAME=...
|
|
# - PENPOT_SMTP_PASSWORD=...
|
|
# - PENPOT_SMTP_TLS=true
|
|
# - PENPOT_SMTP_SSL=false
|
|
# - PENPOT_GOOGLE_CLIENT_ID=...
|
|
# - PENPOT_GOOGLE_CLIENT_SECRET=...
|
|
networks:
|
|
- penpot
|
|
|
|
penpot-exporter:
|
|
image: "penpotapp/exporter:develop"
|
|
environment:
|
|
- PENPOT_PUBLIC_URI=http://penpot-frontend
|
|
networks:
|
|
- penpot
|
|
|
|
penpot-postgres:
|
|
image: "postgres:13"
|
|
restart: always
|
|
stop_signal: SIGINT
|
|
|
|
environment:
|
|
- POSTGRES_INITDB_ARGS=--data-checksums
|
|
- POSTGRES_DB=penpot
|
|
- POSTGRES_USER=penpot
|
|
- POSTGRES_PASSWORD=penpot
|
|
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
networks:
|
|
- penpot
|
|
|
|
penpot-redis:
|
|
image: redis:6
|
|
restart: always
|
|
networks:
|
|
- penpot
|