Skip to content

Commit

Permalink
chore: 新增 PostgreSQL 部署脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Feb 17, 2024
1 parent ee48c80 commit 3129e0a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ services:
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
# postgresql:
# image: postgres:14.2
# restart: always
# container_name: postgresql
# ports:
# - '5432:5432'
# environment:
# TZ: Asia/Shanghai
# POSTGRES_USER: 你的用户名
# POSTGRES_PASSWORD: 你的用户密码
# POSTGRES_DB: continew_admin
# volumes:
# - /docker/postgresql/data/:/var/lib/postgresql/data/
redis:
image: redis:7.2.3
restart: always
Expand Down

0 comments on commit 3129e0a

Please sign in to comment.