Add Docker tweaks/preset button (#201)

* Docker preset button

* All the strings

* Sorry sass-lint
This commit is contained in:
Matt (IPv4) Cowley
2020-12-21 15:27:44 +00:00
committed by GitHub
parent de86df7fe4
commit 0d920fa9bc
8 changed files with 80 additions and 17 deletions

View File

@@ -35,8 +35,6 @@ export default {
https: 'HTTPS',
letsEncrypt: 'Let\'s Encrypt',
python: 'Python',
docker: 'Docker',
dockerCompose: 'Docker Compose',
wordPress: 'WordPress',
drupal: 'Drupal',
magento: 'Magento',

View File

@@ -26,7 +26,16 @@ THE SOFTWARE.
import common from '../../common';
const docker = 'Docker';
const dockerfile = 'Dockerfile';
export default {
dockerfile: `Include Dockerfile to run nginx with ${common.docker}`,
dockerCompose: 'Include docker-compose to run nginx with docker-compose',
docker,
dockerfile,
dockerCompose: `${docker} Compose`,
applyDockerTweaks: `Apply ${docker} tweaks`,
applyDockerTweaksForNginx: `Apply configuration tweaks for running ${common.nginx} with ${docker}`,
applyDockerTweaksExplainer: `Updates the ${common.nginx} user to be <code class="slim">nginx</code> and the pid to <code class="slim">/var/run/nginx.pid</code>`,
includeDockerfile: `Include ${dockerfile} to run ${common.nginx} with ${docker}`,
includeDockerCompose: `Include docker-compose to run ${common.nginx} with docker-compose`,
};