chore(service): formatting and cleanup of ryot
This commit is contained in:
@@ -7,11 +7,10 @@
|
|||||||
services:
|
services:
|
||||||
ryot:
|
ryot:
|
||||||
image: ignisda/ryot:v8
|
image: ignisda/ryot:v8
|
||||||
pull_policy: always
|
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_FQDN_RYOT_8000
|
- SERVICE_FQDN_RYOT_8000
|
||||||
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/$POSTGRES_DB
|
- DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgresql:5432/${POSTGRES_DB}
|
||||||
- SERVER_ADMIN_ACCESS_TOKEN=$SERVICE_PASSWORD_64_RYOT
|
- SERVER_ADMIN_ACCESS_TOKEN=${SERVICE_PASSWORD_64_RYOT}
|
||||||
- TZ=${TZ:-Europe/Amsterdam}
|
- TZ=${TZ:-Europe/Amsterdam}
|
||||||
depends_on:
|
depends_on:
|
||||||
postgresql:
|
postgresql:
|
||||||
@@ -25,17 +24,14 @@ services:
|
|||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- postgresql-data:/var/lib/postgresql/data
|
- ryot_postgresql_data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||||
- POSTGRES_DB=${POSTGRES_DB:-ryot}
|
- POSTGRES_DB=${POSTGRES_DB:-ryot-db}
|
||||||
- TZ=${TZ:-Europe/Amsterdam}
|
- TZ=${TZ:-Europe/Amsterdam}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgresql-data:
|
|
||||||
|
Reference in New Issue
Block a user