mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
* add postgresus templates to automate backups * Simplify docker-compose.yml for postgresus service Removed unnecessary container name and network configuration. --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
24 lines
512 B
YAML
24 lines
512 B
YAML
services:
|
|
postgresus:
|
|
image: rostislavdugin/postgresus:latest
|
|
ports:
|
|
- "4005"
|
|
volumes:
|
|
# Persistent data storage
|
|
- postgresus-data:/postgresus-data
|
|
restart: unless-stopped
|
|
environment:
|
|
# Optional: Set timezone
|
|
- TZ=UTC
|
|
healthcheck:
|
|
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4005" ]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
postgresus-data:
|
|
driver: local
|
|
|