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.

chore(service): formatting and cleanup of ryot

peaklabs-dev4a2478af2552
diff --git a/templates/compose/ryot.yaml b/templates/compose/ryot.yaml
index c6472b7899..f56a45d701 100644
--- a/templates/compose/ryot.yaml
+++ b/templates/compose/ryot.yaml
@@ -7,11 +7,10 @@
services:
ryot:
image: ignisda/ryot:v8
- pull_policy: always
environment:
- SERVICE_FQDN_RYOT_8000
- - DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/$POSTGRES_DB
- - SERVER_ADMIN_ACCESS_TOKEN=$SERVICE_PASSWORD_64_RYOT
+ - DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgresql:5432/${POSTGRES_DB}
+ - SERVER_ADMIN_ACCESS_TOKEN=${SERVICE_PASSWORD_64_RYOT}
- TZ=${TZ:-Europe/Amsterdam}
depends_on:
postgresql:
@@ -25,17 +24,14 @@ services:
postgresql:
image: postgres:16-alpine
volumes:
- - postgresql-data:/var/lib/postgresql/data
+ - ryot_postgresql_data:/var/lib/postgresql/data
environment:
- - POSTGRES_USER=$SERVICE_USER_POSTGRES
- - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- - POSTGRES_DB=${POSTGRES_DB:-ryot}
+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}
+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
+ - POSTGRES_DB=${POSTGRES_DB:-ryot-db}
- TZ=${TZ:-Europe/Amsterdam}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
-
-volumes:
- postgresql-data: