runner

Ansible role that deployes services on my runner machine

2.3 KBJ2
ghost-config.json.j2
2.3 KB110 lines • plaintext
1{
2  "url": "{{ ghost_url }}",
3  "server": {
4    "port": 2368,
5    "host": "0.0.0.0"
6  },
7  "database": {
8    "client": "{{ ghost_db_client }}",
9    "connection": {
10      "host": "ghost-mysql",
11      "port": 3306,
12      "user": "{{ ghost_db_user }}",
13      "password": "{{ ghost_database_password }}",
14      "database": "{{ ghost_db_name }}",
15      "charset": "utf8mb4",
16      "timezone": "UTC"
17    }
18  },
19  "mail": {
20    "transport": "Direct",
21    "options": {
22      "host": "localhost",
23      "port": 25,
24      "service": "Mailgun",
25      "auth": {
26        "user": "",
27        "pass": ""
28      }
29    }
30  },
31  "logging": {
32    "level": "{{ ghost_logging }}",
33    "rotation": {
34      "enabled": true,
35      "count": 15,
36      "period": "1d"
37    },
38    "transports": [
39      "file",
40      "stdout"
41    ]
42  },
43  "process": "systemd",
44  "paths": {
45    "contentPath": "/var/lib/ghost/content/"
46  },
47  "privacy": {
48    "useUpdateCheck": true,
49    "useGravatar": false,
50    "useRpcPing": false,
51    "useStructuredData": true
52  },
53  "admin": {
54    "redirects": false
55  },
56  "compress": true,
57  "caching": {
58    "frontend": {
59      "maxAge": 0
60    },
61    "301": {
62      "maxAge": 31536000
63    },
64    "customRedirects": {
65      "maxAge": 31536000
66    },
67    "favicon": {
68      "maxAge": 86400
69    },
70    "sitemap": {
71      "maxAge": 3600
72    },
73    "robotstxt": {
74      "maxAge": 3600
75    }
76  },
77  "imageOptimization": {
78    "resize": true,
79    "srcsets": true
80  },
81  "tenor": {
82    "publicReadOnlyApiKey": ""
83  },
84  "opensea": {
85    "privateReadOnlyApiKey": ""
86  },
87  "twitter": {
88    "privateReadOnlyToken": ""
89  },
90  "portal": {
91    "url": "{{ ghost_url }}/ghost/",
92    "plans": ["free"]
93  },
94  "stripeDirect": false,
95  "members": {
96    "emailTrackOpens": true,
97    "paymentProcessors": ["stripe"],
98    "freePriceName": "Free",
99    "freePriceDescription": "Access to all public posts",
100    "allowSelfSignup": true,
101    "allowExternalSignup": false,
102    "fromAddress": "noreply@{{ ghost_url | regex_replace('^https?://') }}",
103    "replyAddress": "reply@{{ ghost_url | regex_replace('^https?://') }}",
104    "supportAddress": "support@{{ ghost_url | regex_replace('^https?://') }}",
105    "signupRedirect": "/",
106    "signupTermsAndPrivacy": false,
107    "enableCommentNotifications": true,
108    "collectionEmailAddress": "ghost@{{ ghost_url | regex_replace('^https?://') }}"
109  }
110}