chore(service): formatting and cleanup of ryot
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user