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.

Add rivet.svg and rivet.yaml for AI programming environment setup

Romain ROCHAS0164b545760d
diff --git a/public/svgs/rivet.svg b/public/svgs/rivet.svg
new file mode 100644
index 0000000000..342185b4d4
--- /dev/null
+++ b/public/svgs/rivet.svg
@@ -0,0 +1 @@
+<svg width="128" height="128" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" width="126" height="126" rx="44" fill="#0F0F0F"/><rect x="18.25" y="18.25" width="91.5" height="91.5" rx="25.75" stroke="#F0F0F0" stroke-width="8.5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M57.694 43.098c0-.622-.505-1.126-1.127-1.126h-8.444a5.114 5.114 0 0 0-5.112 5.111v33.824a5.114 5.114 0 0 0 5.112 5.112h8.444c.622 0 1.127-.505 1.127-1.127V43.098Zm24.424 27.869c-1.238-2.222-4.047-4.026-6.27-4.026H62.923c-.684 0-.93.555-.549 1.239l7.703 13.822c1.239 2.223 4.048 4.026 6.27 4.026h12.927c.683 0 .93-.555.548-1.239l-7.703-13.822Zm.538-18.718c0-5.672-4.605-10.277-10.277-10.277H63.31a1.21 1.21 0 0 0-1.209 1.209v18.137c0 .667.542 1.209 1.21 1.209h9.068c5.672 0 10.277-4.605 10.277-10.278Z" fill="#F0F0F0"/></svg>
diff --git a/templates/compose/rivet.yaml b/templates/compose/rivet.yaml
new file mode 100644
index 0000000000..f6007a7886
--- /dev/null
+++ b/templates/compose/rivet.yaml
@@ -0,0 +1,42 @@
+# documentation: https://www.rivet.dev/docs
+# slogan: Open-source visual AI programming environment for building AI agents with LLMs
+# category: ai
+# tags: ai, visual programming, llm, chatbot, agent, postgresql
+# logo: svgs/rivet.svg
+# port: 6420
+
+services:
+ rivet-engine:
+ image: rivetkit/engine:25.8.0
+ platform: linux/amd64
+ environment:
+ - SERVICE_URL_RIVET_6420
+ - RIVET__POSTGRES__URL=postgresql://$SERVICE_USER_POSTGRESQL:$SERVICE_PASSWORD_POSTGRESQL@postgresql:5432/${POSTGRESQL_DATABASE-rivet}
+ depends_on:
+ postgresql:
+ condition: service_healthy
+ healthcheck:
+ test:
+ - CMD
+ - curl
+ - '-f'
+ - http://127.0.0.1:6420/health
+ interval: 2s
+ timeout: 10s
+ retries: 10
+ start_period: 30s
+
+ postgresql:
+ image: postgres:17-alpine
+ volumes:
+ - rivet-postgresql-data:/var/lib/postgresql/data
+ environment:
+ - POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
+ - POSTGRES_DB=${POSTGRESQL_DATABASE-rivet}
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 20s
+ retries: 10
+