fix: change docker volume mount to /var/lib/postgresql

This commit is contained in:
Aravinth Manivannan 2025-10-07 13:51:20 +05:30
parent 9cd7cf3a02
commit 7f18a25b97
No known key found for this signature in database
GPG Key ID: F8F50389936984FF

View File

@ -18,10 +18,9 @@ services:
mcaptcha_postgres: mcaptcha_postgres:
image: postgres:18.0 image: postgres:18.0
volumes: volumes:
- mcaptcha-data:/var/lib/postgresql/ - mcaptcha-data:/var/lib/postgresql
environment: environment:
POSTGRES_PASSWORD: password # change password POSTGRES_PASSWORD: password # change password
PGDATA: /var/lib/postgresql/data/mcaptcha/
mcaptcha_redis: mcaptcha_redis:
image: mcaptcha/cache:latest image: mcaptcha/cache:latest