Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- version: "3.5"
- networks:
- penpot:
- volumes:
- postgres_v15:
- assets:
- services:
- frontend:
- image: "penpotapp/frontend:latest"
- restart: always
- ports:
- - 9060:80
- volumes:
- - assets:/opt/data/assets
- depends_on:
- - backend
- - exporter
- networks:
- - penpot
- environment:
- ## Relevant flags for frontend:
- ## - demo-users
- ## - login-with-github
- ## - login-with-gitlab
- ## - login-with-google
- ## - login-with-ldap
- ## - login-with-oidc
- ## - login-with-password
- ## - registration
- ## - webhooks
- ##
- ## You can read more about all available flags on:
- ## https://help.penpot.app/technical-guide/configuration/#advanced-configuration
- - PENPOT_FLAGS=enable-registration enable-login-with-password
- - PENPOT_BACKEND_URI=http://backend
- - PENPOT_EXPORTER_URI=http://exporter
- backend:
- image: "penpotapp/backend:latest"
- restart: always
- volumes:
- - assets:/opt/data/assets
- depends_on:
- - postgres
- - redis
- networks:
- - penpot
- environment:
- ## Relevant flags for backend:
- ## - demo-users
- ## - email-verification
- ## - log-emails
- ## - log-invitation-tokens
- ## - login-with-github
- ## - login-with-gitlab
- ## - login-with-google
- ## - login-with-ldap
- ## - login-with-oidc
- ## - login-with-password
- ## - registration
- ## - secure-session-cookies
- ## - smtp
- ## - smtp-debug
- ## - telemetry
- ## - webhooks
- ## - prepl-server
- ##
- ## You can read more about all available flags and other
- ## environment variables for the backend here:
- ## https://help.penpot.app/technical-guide/configuration/#advanced-configuration
- - PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server
- - PENPOT_SECRET_KEY=kRkJoBLkUi9vrGfqGAQMr0Sft14sCHogEo6ldC88FWKO9S8zVcjZWQUNlQ_6sZiW6_JifDdB-7OIX6vdRF7Ibw
- ## The PREPL host. Mainly used for external programatic access to penpot backend
- ## (example: admin). By default it listen on `localhost` but if you are going to use
- ## the `admin`, you will need to uncomment this and set the host to `0.0.0.0`.
- # - PENPOT_PREPL_HOST=0.0.0.0
- - PENPOT_PUBLIC_URI=http://media.fritz.box:9060
- - PENPOT_DATABASE_URI=postgresql://postgres/penpot
- - PENPOT_DATABASE_USERNAME=penpot
- - PENPOT_DATABASE_PASSWORD=penpot
- - PENPOT_REDIS_URI=redis://redis/0
- - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
- - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
- - PENPOT_TELEMETRY_ENABLED=false
- ## Example SMTP/Email configuration. By default, emails are sent to the mailcatch
- ## service, but for production usage is recommended to setup a real SMTP
- ## provider. Emails are used to confirm user registrations & invitations. Look below
- ## how mailcatch service is configured.
- - PENPOT_SMTP_HOST=mailcatch
- - PENPOT_SMTP_PORT=1025
- - PENPOT_SMTP_USERNAME=
- - PENPOT_SMTP_PASSWORD=
- - PENPOT_SMTP_TLS=false
- - PENPOT_SMTP_SSL=false
- exporter:
- image: "penpotapp/exporter:latest"
- restart: always
- networks:
- - penpot
- environment:
- - PENPOT_PUBLIC_URI=http://frontend
- - PENPOT_REDIS_URI=redis://redis
- postgres:
- image: "postgres:15"
- restart: always
- stop_signal: SIGINT
- volumes:
- - postgres_v15:/var/lib/postgresql/data
- networks:
- - penpot
- environment:
- - POSTGRES_INITDB_ARGS=--data-checksums
- - POSTGRES_DB=penpot
- - POSTGRES_USER=penpot
- - POSTGRES_PASSWORD=penpot
- redis:
- image: redis:7
- restart: always
- networks:
- - penpot
- ## A mailcatch service, used as temporal SMTP server. You can access via HTTP to the
- ## port 1080 for read all emails the penpot platform has sent. Should be only used as a
- ## temporal solution meanwhile you don't have a real SMTP provider configured.
- mailcatch:
- image: sj26/mailcatcher:latest
- restart: always
- expose:
- - '1025'
- ports:
- - "1080:1080"
- networks:
- - penpot
Advertisement
Add Comment
Please, Sign In to add comment