/
/
/
1# Ghost Environment Configuration
2# Auto-generated by Ansible Runner Role
3
4# Timezone
5TZ={{ runner_timezone }}
6
7# Ghost Configuration
8NODE_ENV=production
9url={{ ghost_url }}
10
11# Database Configuration
12database__client={{ ghost_db_client }}
13database__connection__host=ghost-mysql
14database__connection__port=3306
15database__connection__user={{ ghost_db_user }}
16database__connection__password={{ ghost_database_password }}
17database__connection__database={{ ghost_db_name }}
18database__connection__charset=utf8mb4
19
20# MySQL Configuration
21MYSQL_ROOT_PASSWORD={{ mysql_root_password }}
22MYSQL_DATABASE={{ ghost_db_name }}
23MYSQL_USER={{ ghost_db_user }}
24MYSQL_PASSWORD={{ ghost_database_password }}
25
26# Mail Configuration
27mail__transport=Direct
28mail__options__host=localhost
29mail__options__port=25
30
31# Storage Paths
32GHOST_CONFIG_DIR={{ ghost_config_dir }}
33GHOST_DATA_DIR={{ ghost_data_dir }}
34GHOST_CONTENT_DIR={{ ghost_content_dir }}
35
36# Network Configuration
37GHOST_PORT={{ ghost_port }}
38
39# Performance Settings
40GHOST_MEMORY_LIMIT={{ resource_profiles.standard.memory_limit }}
41GHOST_CPU_LIMIT={{ resource_profiles.standard.cpu_limit }}
42MYSQL_MEMORY_LIMIT={{ mysql_memory_limit }}
43MYSQL_CPU_LIMIT={{ mysql_cpu_limit }}
44
45# User Settings
46PUID={{ runner_uid }}
47PGID={{ runner_gid }}
48
49# Logging Configuration
50logging__level={{ ghost_logging }}
51
52# Feature Settings
53privacy__useUpdateCheck=true
54privacy__useGravatar=false
55privacy__useRpcPing=false
56privacy__useStructuredData=true
57
58# Caching
59compress=true
60imageOptimization__resize=true
61imageOptimization__srcsets=true
62
63# Members Configuration
64members__emailTrackOpens=true
65members__allowSelfSignup=true
66members__allowExternalSignup=false
67
68# API Configuration
69api__versions=v4,v5
70api__cors__enabled=true
71
72# Backup Settings
73BACKUP_ENABLED={{ backup_enabled | lower }}
74BACKUP_SCHEDULE={{ backup_schedule }}