feat: add README

This commit is contained in:
Sun-ZhenXing
2025-09-24 14:16:10 +08:00
parent 232517b58f
commit 70f39867cf
65 changed files with 1695 additions and 103 deletions

22
src/postgres/README.md Normal file
View File

@@ -0,0 +1,22 @@
# Postgres
[English](./README.md) | [中文](./README.zh.md)
This service deploys a PostgreSQL database.
## Services
- `postgres`: The PostgreSQL database service.
## Configuration
- `POSTGRES_VERSION`: The version of the PostgreSQL image, default is `17.6`.
- `POSTGRES_USER`: The database username, default is `postgres`.
- `POSTGRES_PASSWORD`: The database password, default is `postgres`.
- `POSTGRES_DB`: The database name, default is `postgres`.
- `POSTGRES_PORT`: The host port for PostgreSQL, default is `5432`.
## Volumes
- `postgres_data`: A volume for storing PostgreSQL data.
- `init.sql`: Optional initialization script (mount to `/docker-entrypoint-initdb.d/init.sql`).