init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
services:
postgres:
image: "postgres:13.1-alpine"
restart: unless-stopped
container_name: postgres
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=test_database
volumes:
- ./volumes/postgres:/data/postgres
ports:
- "5051:5432"
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@123.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
volumes:
- ./volumes/pgadmin:/root/.pgadmin
depends_on:
- postgres
# https://postgrest.org/en/stable/tutorials/tut0.html
postgrest:
image: postgrest/postgrest:v9.0.0
restart: unless-stopped
ports:
- 3003:3000
environment:
PGRST_DB_URI: postgres://root:root@postgres:5432/test_database
PGRST_DB_SCHEMA: api
PGRST_DB_ANON_ROLE: web_anon
PGRST_JWT_SECRET: PASSWORDpasswordPASSWORDpassword
PGRST_LOG_LEVEL: info
depends_on:
- postgres