chore(service): pgbackweb formatting and naming update
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
# tags: backup, postgresql, web-interface
|
# tags: backup, postgresql, web-interface
|
||||||
# logo: svgs/pgbackweb.svg
|
# logo: svgs/pgbackweb.svg
|
||||||
# port: 8085
|
# port: 8085
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pgbackweb:
|
pgbackweb:
|
||||||
image: eduardolat/pgbackweb:latest
|
image: eduardolat/pgbackweb:latest
|
||||||
@@ -11,26 +12,23 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- SERVICE_FQDN_PGBACKWEB_8085
|
- SERVICE_FQDN_PGBACKWEB_8085
|
||||||
- PBW_ENCRYPTION_KEY=${SERVICE_PASSWORD_64_PGBACKWEB}
|
- PBW_ENCRYPTION_KEY=${SERVICE_PASSWORD_64_PGBACKWEB}
|
||||||
- PBW_POSTGRES_CONN_STRING=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/pgbackweb?sslmode=disable
|
- PBW_POSTGRES_CONN_STRING=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-pgbackweb-db}?sslmode=disable
|
||||||
- TZ=${TIME_ZONE:-UTC}
|
- TZ=${TIME_ZONE:-UTC}
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
exclude_from_hc: true
|
exclude_from_hc: true
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
|
||||||
- POSTGRES_DB=pgbackweb
|
|
||||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
|
||||||
|
- POSTGRES_DB=${POSTGRES_DB:-pgbackweb-db}
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- pgbackweb_postgres_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U ${SERVICE_USER_POSTGRES} -d pgbackweb"]
|
test: ["CMD-SHELL", "pg_isready -U ${SERVICE_USER_POSTGRES} -d pgbackweb"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres_data:
|
|
||||||
pgbackweb_backups:
|
|
||||||
|
Reference in New Issue
Block a user