runner

Ansible role that deployes services on my runner machine

2.2 KBJ2
ghost-config.json.j2
2.2 KB106 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  },
23  "auth": {
24    "type": "password",
25    "password": {}
26  },
27  "logging": {
28    "level": "{{ ghost_logging }}",
29    "rotation": {
30      "enabled": true,
31      "count": 15,
32      "period": "1d"
33    },
34    "transports": [
35      "file",
36      "stdout"
37    ]
38  },
39  "process": "systemd",
40  "paths": {
41    "contentPath": "/var/lib/ghost/content/"
42  },
43  "privacy": {
44    "useUpdateCheck": true,
45    "useGravatar": false,
46    "useRpcPing": false,
47    "useStructuredData": true
48  },
49  "admin": {
50    "redirects": false
51  },
52  "compress": true,
53  "caching": {
54    "frontend": {
55      "maxAge": 0
56    },
57    "301": {
58      "maxAge": 31536000
59    },
60    "customRedirects": {
61      "maxAge": 31536000
62    },
63    "favicon": {
64      "maxAge": 86400
65    },
66    "sitemap": {
67      "maxAge": 3600
68    },
69    "robotstxt": {
70      "maxAge": 3600
71    }
72  },
73  "imageOptimization": {
74    "resize": true,
75    "srcsets": true
76  },
77  "tenor": {
78    "publicReadOnlyApiKey": ""
79  },
80  "opensea": {
81    "privateReadOnlyApiKey": ""
82  },
83  "twitter": {
84    "privateReadOnlyToken": ""
85  },
86  "portal": {
87    "url": "{{ ghost_url }}/ghost/",
88    "plans": ["free"]
89  },
90  "stripeDirect": false,
91  "members": {
92    "emailTrackOpens": true,
93    "paymentProcessors": ["stripe"],
94    "freePriceName": "Free",
95    "freePriceDescription": "Access to all public posts",
96    "allowSelfSignup": true,
97    "allowExternalSignup": false,
98    "fromAddress": "noreply@{{ ghost_url | regex_replace('^https?://') }}",
99    "replyAddress": "reply@{{ ghost_url | regex_replace('^https?://') }}",
100    "supportAddress": "support@{{ ghost_url | regex_replace('^https?://') }}",
101    "signupRedirect": "/",
102    "signupTermsAndPrivacy": false,
103    "enableCommentNotifications": true,
104    "collectionEmailAddress": "ghost@{{ ghost_url | regex_replace('^https?://') }}"
105  }
106}