107 lines
2.0 KiB
YAML
107 lines
2.0 KiB
YAML
# デフォルト値設定
|
||
replicaCount: 2
|
||
|
||
image:
|
||
nginx:
|
||
registry: docker.io
|
||
repository: nginx
|
||
tag: "1.29.3-alpine-perl"
|
||
pullPolicy: IfNotPresent
|
||
wordpress:
|
||
registry: docker.io
|
||
repository: wordpress
|
||
tag: "6.8.3-php8.4-fpm-alpine"
|
||
pullPolicy: IfNotPresent
|
||
|
||
# WordPress設定
|
||
wordpress:
|
||
# データベース設定
|
||
dbHost: mysql-service
|
||
dbName: wordpress
|
||
dbUser: wordpress
|
||
# 本番環境ではSecretを使用してください
|
||
dbPassword: "changeme"
|
||
tablePrefix: wp_
|
||
|
||
# WordPress初期設定
|
||
siteTitle: "My WordPress Site"
|
||
siteUrl: "http://localhost"
|
||
adminUser: "admin"
|
||
adminPassword: "" # 空の場合はランダム生成
|
||
adminEmail: "admin@example.com"
|
||
|
||
# ads.txt設定
|
||
adsTxt:
|
||
enabled: false
|
||
content: |
|
||
# ads.txt content
|
||
# google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
|
||
|
||
# Service設定
|
||
service:
|
||
type: LoadBalancer
|
||
port: 80
|
||
targetPort: 80
|
||
|
||
# Ingress設定
|
||
ingress:
|
||
enabled: false
|
||
className: nginx
|
||
annotations: {}
|
||
hosts:
|
||
- host: wordpress.example.com
|
||
paths:
|
||
- path: /
|
||
pathType: Prefix
|
||
tls: []
|
||
|
||
# PersistentVolume設定(wp-contentのみ永続化)
|
||
persistence:
|
||
enabled: true
|
||
storageClass: ""
|
||
accessMode: ReadWriteOnce
|
||
size: 10Gi
|
||
# 注意: WordPress本体ファイルはemptyDirに配置され、
|
||
# wp-contentディレクトリのみがPVCに永続化されます
|
||
|
||
# リソース設定
|
||
resources:
|
||
nginx:
|
||
limits:
|
||
cpu: 500m
|
||
memory: 512Mi
|
||
requests:
|
||
cpu: 250m
|
||
memory: 256Mi
|
||
wordpress:
|
||
limits:
|
||
cpu: 1000m
|
||
memory: 1Gi
|
||
requests:
|
||
cpu: 500m
|
||
memory: 512Mi
|
||
|
||
# Health Check
|
||
healthCheck:
|
||
enabled: true
|
||
livenessProbe:
|
||
httpGet:
|
||
path: /
|
||
port: 80
|
||
initialDelaySeconds: 30
|
||
periodSeconds: 10
|
||
readinessProbe:
|
||
httpGet:
|
||
path: /
|
||
port: 80
|
||
initialDelaySeconds: 10
|
||
periodSeconds: 5
|
||
|
||
# Node Selector
|
||
nodeSelector: {}
|
||
|
||
# Tolerations
|
||
tolerations: []
|
||
|
||
# Affinity
|
||
affinity: {} |