mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 00:57:13 +08:00 
			
		
		
		
	chore: 新增 PostgreSQL 部署脚本
This commit is contained in:
		| @@ -22,6 +22,19 @@ services: | |||||||
|       --collation-server=utf8mb4_general_ci |       --collation-server=utf8mb4_general_ci | ||||||
|       --explicit_defaults_for_timestamp=true |       --explicit_defaults_for_timestamp=true | ||||||
|       --lower_case_table_names=1 |       --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: |   redis: | ||||||
|     image: redis:7.2.3 |     image: redis:7.2.3 | ||||||
|     restart: always |     restart: always | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user