chore: bind-mount postgres/redis data dirs, update docs for pocketveto.org

- docker-compose.yml: replace named volumes with ./postgres/data and ./redis/data bind mounts
- .gitignore: exclude postgres/ and redis/ data directories
- DEPLOYING.md: update clone URL to public PocketVeto repo
- UPDATING.md: fix paths (~/pocketveto), clone URL, webhook IDs

Authored by: Jack Levy
This commit is contained in:
Jack Levy
2026-03-15 02:17:37 -04:00
parent d378f35cc5
commit 3d19cd571a
4 changed files with 30 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-congress}
POSTGRES_DB: ${POSTGRES_DB:-pocketveto}
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres/data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-congress} -d ${POSTGRES_DB:-pocketveto}"]
interval: 5s
@@ -18,7 +18,7 @@ services:
redis:
image: redis:7-alpine
volumes:
- redis_data:/data
- ./redis/data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
@@ -105,10 +105,6 @@ services:
networks:
- app_network
volumes:
postgres_data:
redis_data:
networks:
app_network:
driver: bridge