Processed apps directory via GitHub Actions
This commit is contained in:
15
dockge/postgresql_pg16-alpine/.env
Normal file
15
dockge/postgresql_pg16-alpine/.env
Normal file
@@ -0,0 +1,15 @@
|
||||
# 数据持久化路径 [必填]
|
||||
POSTGRES_ROOT_PATH=/home/postgres
|
||||
|
||||
# Postgres 密码 (首次生效) [必填]
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# Postgres 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=5432
|
||||
|
||||
# Postgres 用户(不建议改动)
|
||||
POSTGRES_USER=postgres
|
||||
|
||||
# Postgres 数据库名称(不建议改动)
|
||||
POSTGRES_DB=postgres
|
||||
|
||||
24
dockge/postgresql_pg16-alpine/docker-compose.yml
Normal file
24
dockge/postgresql_pg16-alpine/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
postgresql:
|
||||
container_name: pg16-alpine-postgresql
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
image: postgres:16-alpine
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:5432
|
||||
restart: always
|
||||
volumes:
|
||||
- ${POSTGRES_ROOT_PATH}/data:/var/lib/postgresql/data
|
||||
2
dockge/postgresql_pg16-alpine/envs/default.env
Normal file
2
dockge/postgresql_pg16-alpine/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
dockge/postgresql_pg16-alpine/envs/global.env
Normal file
2
dockge/postgresql_pg16-alpine/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
Reference in New Issue
Block a user