forked from Mystic-Stars/GHS-Color
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 1.77 KB
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# GHS Color Next - Docker Compose 配置
# 基于Docker Hub预构建镜像的一键部署
version: '3.8'
services:
ghs-color:
image: mysticstars/ghs-color:latest
container_name: ghs-color
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- NEXT_PUBLIC_APP_NAME=GHS Color Next
- NEXT_PUBLIC_APP_VERSION=2.0.0
- NEXT_PUBLIC_APP_DESCRIPTION=现代化色彩管理工具
- NEXT_PUBLIC_APP_DESCRIPTION_EN=Modern Color Management Tool
- NEXT_PUBLIC_GITHUB_URL=https://github.com/Mystic-Stars/GHS-Color
- NEXT_PUBLIC_SITE_TITLE=GHS Color Next - 现代化色彩管理工具
- NEXT_PUBLIC_SITE_DESCRIPTION=一款优雅的现代化色彩管理工具
- NEXT_PUBLIC_SITE_TITLE_EN=GHS Color Next - Modern Color Management Tool
- NEXT_PUBLIC_SITE_DESCRIPTION_EN=A modern color management tool
- NEXT_PUBLIC_SITE_KEYWORDS=GHS Color,color management,color tool,design tool,color picker,palette,颜色管理,色彩工具
# 颜色数据配置(可选)- 如果设置了这些环境变量,将优先使用环境变量中的数据
# 取消注释并修改以下行来自定义颜色数据:
# - NEXT_PUBLIC_COLORS=[{"id":"custom-red","name":"Custom Red","nameZh":"自定义红色","hex":"#ff0000","description":"A custom red color","descriptionZh":"自定义的红色","category":"brand","tags":["red","custom"]}]
# - NEXT_PUBLIC_CATEGORIES=[{"id":"custom","name":"Custom Colors","nameZh":"自定义颜色","description":"Custom color category","icon":"🎨","color":"#6366F1","order":1}]
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s