添加一键启动:Makefile、Docker Compose(PostgreSQL)、环境变量模板

This commit is contained in:
yml2213
2026-07-14 11:24:29 +08:00
parent 05ab468498
commit 5820665b85
4 changed files with 64 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: kefu-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: kefu_sys
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: