From 42e259f249058e5656328adec5ad0410e20a64a0 Mon Sep 17 00:00:00 2001 From: Hansen Frenico <16384641+frenicohansen@users.noreply.github.com> Date: Sat, 21 Dec 2024 23:59:43 +0100 Subject: [PATCH] feat: add rallly service --- public/svgs/rallly.svg | 1 + templates/compose/rallly.yaml | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 public/svgs/rallly.svg create mode 100644 templates/compose/rallly.yaml diff --git a/public/svgs/rallly.svg b/public/svgs/rallly.svg new file mode 100644 index 000000000..58a8ef60b --- /dev/null +++ b/public/svgs/rallly.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/compose/rallly.yaml b/templates/compose/rallly.yaml new file mode 100644 index 000000000..54460358a --- /dev/null +++ b/templates/compose/rallly.yaml @@ -0,0 +1,47 @@ +# documentation: https://support.rallly.co/self-hosting/introduction +# slogan: Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier. +# tags: scheduling,rallly,events,meeting,doodle +# logo: svgs/rallly.svg +# port: 3000 + +services: + rallly_db: + image: "postgres:14.2" + restart: always + volumes: + - "db-data:/var/lib/postgresql/data" + environment: + - "POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}" + - "POSTGRES_USER=${SERVICE_USER_POSTGRES}" + - "POSTGRES_DB=${POSTGRES_DB:-rallly}" + healthcheck: + test: + - CMD-SHELL + - "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" + interval: 2s + timeout: 10s + retries: 15 + rallly: + image: "lukevella/rallly:latest" + restart: always + depends_on: + rallly_db: + condition: service_healthy + environment: + - SERVICE_FQDN_RALLLY_3000 + - "DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@rallly_db:5432/${POSTGRES_DB:-rallly}" + - "SECRET_PASSWORD=${SERVICE_BASE64_32_RALLLY}" + - "NEXT_PUBLIC_BASE_URL=https://${SERVICE_URL_RALLLY}" + - "ALLOWED_EMAILS=${ALLOWED_EMAILS}" + - "SUPPORT_EMAIL=${SUPPORT_EMAIL}" + - "SMTP_HOST=${SMTP_HOST}" + - "SMTP_PORT=${SMTP_PORT}" + - "SMTP_SECURE=${SMTP_SECURE}" + - "SMTP_USER=${SMTP_USER}" + - "SMTP_PWD=${SMTP_PWD}" + - "SMTP_TLS_ENABLED=${SMTP_TLS_ENABLED}" + healthcheck: + test: ["CMD", "echo", "ok"] + interval: 5s + timeout: 20s + retries: 10 \ No newline at end of file