mirror of
https://github.com/esauflores/databases.git
synced 2026-03-09 06:30:34 +00:00
Compare commits
2 Commits
5e3ef8941f
...
9e553203c5
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e553203c5 | |||
| bb016cbade |
18
README.md
18
README.md
@@ -2,9 +2,19 @@
|
|||||||
|
|
||||||
Custom database Docker images for local development and self-hosted deployments.
|
Custom database Docker images for local development and self-hosted deployments.
|
||||||
|
|
||||||
## Postgres 18
|
## Postgres - base
|
||||||
|
|
||||||
Based on `postgres:18.3-alpine`.
|
Based on `postgres:18-alpine`.
|
||||||
|
|
||||||
|
### Extensions
|
||||||
|
|
||||||
|
The following extensions are enabled by default:
|
||||||
|
|
||||||
|
| Extension | Description |
|
||||||
|
| ---------- | ------------------------------------------------ |
|
||||||
|
| `citext` | Case-insensitive text type |
|
||||||
|
| `pg_trgm` | Trigram-based text similarity and fuzzy matching |
|
||||||
|
| `pgcrypto` | Cryptographic functions |
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
```bash
|
```bash
|
||||||
@@ -20,12 +30,12 @@ cp .env.example .env
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
```bash
|
```bash
|
||||||
docker pull git.fastwaydata.com/esauflores/database-postgres:latest
|
docker pull git.fastwaydata.com/esauflores/db-postgres:base
|
||||||
```
|
```
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: git.fastwaydata.com/esauflores/database-postgres:latest
|
image: git.fastwaydata.com/esauflores/db-postgres:base
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- "${POSTGRES_PORT:-5432}:5432"
|
- "${POSTGRES_PORT:-5432}:5432"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: git.fastwaydata.com/esauflores/database-postgres:latest
|
image: git.fastwaydata.com/esauflores/db-postgres:base
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||||
|
|||||||
Reference in New Issue
Block a user