Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Commit 8f3ad71

Browse files
v2.0.0-beta.5 (#36)
2 parents b8465df + a9191d6 commit 8f3ad71

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

apps/docs/content/docs/2.0.0-beta/installation.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ services:
3939
condition: "service_healthy"
4040
environment:
4141
- PORT=${API_INTERNAL_PORT:-3333} # Port for the backend service
42-
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD:-postgresRootPassword}@postgres:5432/palmr_db?schema=public # Database URL with configurable password through POSTGRES_PASSWORD env var
43-
- MINIO_ENDPOINT=minio # This can change if your MinIO is at a different address
42+
- DATABASE_URL=postgresql://postgres:${POSTGRESQL_PASSWORD:-postgresRootPassword}@postgres:5432/palmr_db?schema=public # Database URL with configurable password through POSTGRESQL_PASSWORD env var
43+
- MINIO_ENDPOINT=${MINIO_ENDPOINT:-minio} # This can change if your MinIO is at a different address
4444
- MINIO_PORT=${MINIO_INTERNAL_API_PORT:-6421} # Default MinIO port (Change if yours is not the default)
4545
- MINIO_USE_SSL=false # MinIO uses SSL by default, but you can change it to true if needed
4646
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-minio_root_user} # MinIO credentials can be configured through MINIO_ROOT_USER env vars
@@ -54,7 +54,7 @@ services:
5454
- "${API_EXTERNAL_PORT:-3333}:${API_INTERNAL_PORT:-3333}" # Backend port mapping
5555
restart: unless-stopped
5656
healthcheck:
57-
test: ["CMD", "curl", "-f", "http://localhost:${API_INTERNAL_PORT:-3333}/health"]
57+
test: ["CMD", "wget", "--no-verbose", "http://palmr-api:${API_INTERNAL_PORT:-3333}/health"]
5858
interval: 10s
5959
timeout: 5s
6060
retries: 5
@@ -121,10 +121,10 @@ services:
121121
container_name: palmr-postgres
122122
environment:
123123
# PostgreSQL credentials configurable through environment variables
124-
# POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB can be set to override defaults
125-
- POSTGRESQL_USERNAME=${POSTGRES_USER:-postgres}
126-
- POSTGRESQL_PASSWORD=${POSTGRES_PASSWORD:-postgresRootPassword}
127-
- POSTGRESQL_DATABASE=${POSTGRES_DB:-palmr_db}
124+
# POSTGRESQL_USERNAME, POSTGRESQL_PASSWORD, and POSTGRES_DB can be set to override defaults
125+
- POSTGRESQL_USERNAME=${POSTGRESQL_USERNAME:-postgres}
126+
- POSTGRESQL_PASSWORD=${POSTGRESQL_PASSWORD:-postgresRootPassword}
127+
- POSTGRESQL_DATABASE=${POSTGRES_DATABASE:-palmr_db}
128128
volumes:
129129
- postgres_data:/bitnami/postgresql
130130
ports:

0 commit comments

Comments
 (0)