2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 08:38:42 +08:00

feat: init

This commit is contained in:
2026-01-16 06:31:57 +08:00
commit 6810f0fb38
117 changed files with 2703 additions and 0 deletions

36
postgresql/data.yml Executable file
View File

@@ -0,0 +1,36 @@
name:
en: PostgreSQL
zh_CN: PostgreSQL
zh_TW: PostgreSQL
tags:
- database
description:
en: Powerful open source object-relational database system
zh_CN: 功能强大的开源对象关系数据库系统
zh_TW: 功能強大的開源對象關係數據庫系統
website: https://www.postgresql.org/
architectures:
- amd64
- arm64
environments:
POSTGRESQL_DB_ROOT_USER:
description:
en: Database Root Username
zh_CN: 数据库 Root 用户名
zh_TW: 數據庫 Root 用戶名
type: text
default: postgres
POSTGRESQL_DB_ROOT_PASSWORD:
description:
en: Database Root Password
zh_CN: 数据库 Root 密码
zh_TW: 數據庫 Root 密碼
type: password
default: ""
POSTGRESQL_PORT:
description:
en: Port
zh_CN: 端口
zh_TW:
type: port
default: 5432

View File

@@ -0,0 +1,23 @@
services:
postgres:
image: postgres:18.1-alpine
restart: always
environment:
- POSTGRES_USER=${POSTGRESQL_DB_ROOT_USER}
- POSTGRES_PASSWORD=${POSTGRESQL_DB_ROOT_PASSWORD}
ports:
- ${POSTGRESQL_PORT}:5432
volumes:
- ./data:/var/lib/postgresql
healthcheck:
test: ["CMD", "pg_isready", "-h", "127.0.0.1", "-p", "5432", "-q", "-U", "${POSTGRESQL_DB_ROOT_USER}"]
start_period: 20s
interval: 30s
retries: 5
timeout: 5s
networks:
- acepanel-network
networks:
acepanel-network:
external: true

1
postgresql/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.0 KiB