mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +00:00
Introduce three new docker-compose files: docker-compose-file-system.yaml for local filesystem storage, docker-compose-s3-minio.yaml for MinIO S3-compatible storage, and docker-compose-s3.yaml for direct S3 storage. Each configuration includes environment variables for service setup, health checks, and persistent volume management. This enhances deployment flexibility for the Palmr application.
23 lines
494 B
YAML
23 lines
494 B
YAML
services:
|
|
postgres:
|
|
image: bitnami/postgresql:17.2.0
|
|
container_name: palmr-postgres
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- POSTGRESQL_USERNAME=palmr
|
|
- POSTGRESQL_PASSWORD=palmr123
|
|
- POSTGRESQL_DATABASE=palmr
|
|
volumes:
|
|
- postgres_data:/bitnami/postgresql
|
|
restart: "unless-stopped"
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "palmr"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
postgres_data:
|
|
minio_data:
|