Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

1.8 KB
Raw Blame
# 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.
# category: productivity
# tags: scheduling,rallly,events,meeting,doodle
# logo: svgs/rallly.svg
# port: 3000

services:
  rallly_db:
    image: postgres:18
    volumes:
      - postgres-data:/var/lib/postgresql
    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
    platform: linux/amd64
    environment:
      - SERVICE_URL_RALLLY_3000
      - PROXY_MODE=external
      - DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@rallly_db:5432/${POSTGRES_DB:-rallly}
      - SECRET_PASSWORD=${SERVICE_PASSWORD_64_RALLLY}
      - NEXT_PUBLIC_BASE_URL=${SERVICE_URL_RALLLY}
      - REGISTRATION_ENABLED=${REGISTRATION_ENABLED:-true}
      - INITIAL_ADMIN_EMAIL=${INITIAL_ADMIN_EMAIL:?}
      - ALLOWED_EMAILS=${ALLOWED_EMAILS}
      - SUPPORT_EMAIL=${SUPPORT_EMAIL:?}
      - SMTP_HOST=${SMTP_HOST}
      - SMTP_PORT=${SMTP_PORT}
      - SMTP_SECURE=${SMTP_SECURE:-false}
      - SMTP_USER=${SMTP_USER}
      - SMTP_PWD=${SMTP_PWD}
      - SMTP_TLS_ENABLED=${SMTP_TLS_ENABLED:-false}
      - BETTER_AUTH_TRUSTED_ORIGINS=${SERVICE_URL_RALLLY}
    healthcheck:
      test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1"]
      interval: 5s
      timeout: 20s
      retries: 10
    depends_on:
      rallly_db:
        condition: service_healthy