diff --git a/public/svgs/once-campfire.png b/public/svgs/once-campfire.png new file mode 100644 index 000000000..d1158445b Binary files /dev/null and b/public/svgs/once-campfire.png differ diff --git a/templates/compose/once-campfire.yaml b/templates/compose/once-campfire.yaml new file mode 100644 index 000000000..1f4e2b281 --- /dev/null +++ b/templates/compose/once-campfire.yaml @@ -0,0 +1,31 @@ +# documentation: https://github.com/basecamp/once-campfire +# slogan: Super simple group chat, without a subscription. +# category: messaging +# tags: campfire,chat,communication,rails,once,basecamp,37signals +# logo: svgs/once-campfire.png +# port: 80 + +services: + campfire: + build: https://github.com/basecamp/once-campfire.git#${BRANCH:-main} + ports: + - "3000:80" + restart: unless-stopped + volumes: + - campfire-storage:/rails/storage + environment: + SECRET_KEY_BASE: ${SECRET_KEY_BASE} # required, set this to a secure random value + VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY} # optional, for notifications + VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY} # optional, for notifications + DISABLE_SSL: ${DISABLE_SSL-true} # uncomment to disable SSL + SSL_DOMAIN: ${SSL_DOMAIN-false} # optional, for SSL + SKIP_TELEMETRY: ${SKIP_TELEMETRY-true} # optional, set to disable telemetry + SENTRY_DSN: ${SENTRY_DSN} # optional, for error reporting + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost/up"] + interval: 10s + timeout: 5s + retries: 5 + +volumes: + campfire-storage: