Remove Penpot environment file and update preselect branch URL

This commit is contained in:
Andras Bacsai 2024-03-13 14:34:19 +01:00
parent 6cb3df9350
commit ba7ee4fba7
4 changed files with 84 additions and 76 deletions

View File

@ -21,8 +21,8 @@
<div class='text-helper'>git@..</div>
</div>
<div class="flex gap-1">
<div>Preselect branch (eg: static):</div>
<div class='text-helper'>https://github.com/coollabsio/coolify-examples/tree/static</div>
<div>Preselect branch (eg: main):</div>
<div class='text-helper'>https://github.com/coollabsio/coolify-examples/tree/main</div>
</div>
<div>
For example application deployments, checkout <a class="text-white underline"

View File

@ -1,12 +0,0 @@
PENPOT_BACKEND_FLAGS=enable-login-with-password enable-smtp enable-prepl-server
PENPOT_FRONTEND_FLAGS=enable-login-with-password
PENPOT_SECRET_KEY=$SERVICE_PASSWORD_64_PENPOT
PENPOT_SMTP_DEFAULT_FROM=
PENPOT_SMTP_DEFAULT_REPLY_TO=
PENPOT_SMTP_HOST=
PENPOT_SMTP_PASSWORD=
PENPOT_SMTP_PORT=
PENPOT_SMTP_SSL=false
PENPOT_SMTP_TLS=false
PENPOT_SMTP_USERNAME=
PENPOT_TELEMETRY_ENABLED=true

View File

@ -2,82 +2,87 @@
# slogan: Penpot is the first Open Source design and prototyping platform for product teams.
# tags: penpot,design,prototyping,figma,open,source
version: '3.5'
networks:
penpot: null
volumes:
penpot_postgres_v15: null
penpot_assets: null
version: "3.5"
services:
penpot-frontend:
image: 'penpotapp/frontend:latest'
restart: always
ports:
- '9001:80'
frontend:
image: "penpotapp/frontend:latest"
volumes:
- 'penpot_assets:/opt/data/assets'
- penpot-assets:/opt/data/assets
depends_on:
- penpot-backend
- penpot-exporter
networks:
- penpot
environment:
- SERVICE_FQDN_PENPOT-FRONTEND
- 'PENPOT_FLAGS=${PENPOT_FRONTEND_FLAGS}'
- SERVICE_FQDN_FRONTEND
- PENPOT_FLAGS=${PENPOT_FRONTEND_FLAGS:-enable-login-with-password}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 2s
timeout: 10s
retries: 15
penpot-backend:
image: 'penpotapp/backend:latest'
restart: always
image: penpotapp/backend:latest
volumes:
- 'penpot_assets:/opt/data/assets'
- penpot-assets:/opt/data/assets
depends_on:
- penpot-postgres
- penpot-redis
networks:
- penpot
- postgres
- redis
environment:
- SERVICE_FQDN_PENPOT-BACKEND
- 'PENPOT_FLAGS=${PENPOT_BACKEND_FLAGS}'
- 'PENPOT_SECRET_KEY=${PENPOT_SECRET_KEY}'
- 'PENPOT_PUBLIC_URI=${SERVICE_FQDN_PENPOT-FRONTEND}'
- 'PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot'
- 'PENPOT_DATABASE_USERNAME=${SERVICE_USER_POSTGRES}'
- 'PENPOT_DATABASE_PASSWORD=${SERVICE_PASSWORD_POSTGRES}'
- 'PENPOT_REDIS_URI=redis://penpot-redis/0'
- PENPOT_FLAGS=${PENPOT_BACKEND_FLAGS:-enable-login-with-password enable-smtp enable-prepl-server}
- PENPOT_HTTP_SERVER_PORT=6060
- PENPOT_SECRET_KEY=$SERVICE_REALBASE64_64_PENPOT
- PENPOT_PUBLIC_URI=$SERVICE_FQDN_FRONTEND
- PENPOT_BACKEND_URI=http://penpot-backend
- PENPOT_EXPORTER_URI=http://penpot-exporter
- PENPOT_DATABASE_URI=postgresql://postgres/${POSTGRES_DB:-penpot}
- PENPOT_DATABASE_USERNAME=${SERVICE_USER_POSTGRES}
- PENPOT_DATABASE_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- PENPOT_REDIS_URI=redis://redis/0
- PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
- PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
- 'PENPOT_TELEMETRY_ENABLED=${PENPOT_TELEMETRY_ENABLED}'
- 'PENPOT_SMTP_DEFAULT_FROM=${PENPOT_SMTP_DEFAULT_FROM}'
- 'PENPOT_SMTP_DEFAULT_REPLY_TO=${PENPOT_SMTP_DEFAULT_REPLY_TO}'
- 'PENPOT_SMTP_HOST=${PENPOT_SMTP_HOST}'
- 'PENPOT_SMTP_PORT=${PENPOT_SMTP_PORT}'
- 'PENPOT_SMTP_USERNAME=${PENPOT_SMTP_USERNAME}'
- 'PENPOT_SMTP_PASSWORD=${PENPOT_SMTP_PASSWORD}'
- 'PENPOT_SMTP_TLS=${PENPOT_SMTP_TLS}'
- 'PENPOT_SMTP_SSL=${PENPOT_SMTP_SSL}'
- PENPOT_TELEMETRY_ENABLED=${PENPOT_TELEMETRY_ENABLED:-false}
- PENPOT_SMTP_DEFAULT_FROM=${PENPOT_SMTP_DEFAULT_FROM:-no-reply@example.com}
- PENPOT_SMTP_DEFAULT_REPLY_TO=${PENPOT_SMTP_DEFAULT_REPLY_TO:-no-reply@example.com}
- PENPOT_SMTP_HOST=${PENPOT_SMTP_HOST:-mailpit}
- PENPOT_SMTP_PORT=${PENPOT_SMTP_PORT:-1025}
- PENPOT_SMTP_USERNAME=${PENPOT_SMTP_USERNAME:-penpot}
- PENPOT_SMTP_PASSWORD=${PENPOT_SMTP_PASSWORD:-penpot}
- PENPOT_SMTP_TLS=${PENPOT_SMTP_TLS:-false}
- PENPOT_SMTP_SSL=${PENPOT_SMTP_SSL:-false}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6060"]
interval: 2s
timeout: 10s
retries: 15
penpot-exporter:
image: 'penpotapp/exporter:latest'
restart: always
networks:
- penpot
image: penpotapp/exporter:latest
environment:
- SERVICE_FQDN_PENPOT-EXPORTER
- 'PENPOT_PUBLIC_URI=${SERVICE_FQDN_PENPOT-FRONTEND}'
- 'PENPOT_REDIS_URI=redis://penpot-redis/0'
penpot-postgres:
image: 'postgres:15'
restart: always
stop_signal: SIGINT
- PENPOT_PUBLIC_URI=$SERVICE_FQDN_FRONTEND
- PENPOT_REDIS_URI=redis://redis/0
mailpit:
image: "axllent/mailpit:latest"
environment:
- SERVICE_FQDN_MAILPIT_8025
postgres:
image: postgres:15
volumes:
- 'penpot_postgres_v15:/var/lib/postgresql/data'
networks:
- penpot
- penpot-postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_INITDB_ARGS=--data-checksums
- POSTGRES_DB=penpot
- 'POSTGRES_USER=${SERVICE_USER_POSTGRES}'
- 'POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}'
penpot-redis:
image: 'redis:7'
restart: always
networks:
- penpot
- POSTGRES_USER=$SERVICE_USER_POSTGRES
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_DB=${POSTGRES_DB:-penpot}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
redis:
image: redis:7-alpine
command: redis-server --appendonly yes
volumes:
- penpot-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 20s
retries: 10

View File

@ -613,6 +613,21 @@
"minversion": "0.0.0",
"port": "3000"
},
"penpot": {
"documentation": "https:\/\/help.penpot.app\/technical-guide\/getting-started\/#install-with-docker",
"slogan": "Penpot is the first Open Source design and prototyping platform for product teams.",
"compose": "dmVyc2lvbjogJzMuNScKc2VydmljZXM6CiAgZnJvbnRlbmQ6CiAgICBpbWFnZTogJ3BlbnBvdGFwcC9mcm9udGVuZDpsYXRlc3QnCiAgICB2b2x1bWVzOgogICAgICAtICdwZW5wb3QtYXNzZXRzOi9vcHQvZGF0YS9hc3NldHMnCiAgICBkZXBlbmRzX29uOgogICAgICAtIHBlbnBvdC1iYWNrZW5kCiAgICAgIC0gcGVucG90LWV4cG9ydGVyCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBTRVJWSUNFX0ZRRE5fRlJPTlRFTkQKICAgICAgLSAnUEVOUE9UX0ZMQUdTPSR7UEVOUE9UX0ZST05URU5EX0ZMQUdTOi1lbmFibGUtbG9naW4td2l0aC1wYXNzd29yZH0nCiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDoKICAgICAgICAtIENNRAogICAgIC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ZhbDogNXMKICAgICAgdGltZW91dDogMjBzCiAgICAgIHJldHJpZXM6IDEwCiAgcmVkaXM6CiAgICBpbWFnZTogJ3JlZGlzOjctYWxwaW5lJwogICAgY29tbWFuZDogJ3JlZGlzLXNlcnZlciAtLWFwcGVuZG9ubHkgeWVzJwogICAgdm9sdW1lczoKICAgICAgLSAncGVucG90LXJlZGlzLWRhdGE6L2RhdGEnCiAgICBoZWFsdGhjaGVjazoKICAgICAgdGVzdDoKICAgICAgICAtIENNRAogICAgICAgIC0gcmVkaXMtY2xpCiAgICAgICAgLSBwaW5nCiAgICAgIGludGVydmFsOiA1cwogICAgICB0aW1lb3V0OiAyMHMKICAgICAgcmV0cmllczogMTAK",
"tags": [
"penpot",
"design",
"prototyping",
"figma",
"open",
"source"
],
"logo": "svgs\/unknown.svg",
"minversion": "0.0.0"
},
"phpmyadmin": {
"documentation": "https:\/\/phpmyadmin.net",
"slogan": "phpMyAdmin is a web-based database management tool for administering your MySQL and MariaDB databases through a user-friendly interface.",