mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-05 18:56:09 +08:00
Add Docker tweaks/preset button (#201)
* Docker preset button * All the strings * Sorry sass-lint
This commit is contained in:
committed by
GitHub
parent
de86df7fe4
commit
0d920fa9bc
@@ -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',
|
||||
|
||||
@@ -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`,
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -26,7 +26,16 @@ THE SOFTWARE.
|
||||
|
||||
import common from '../../common';
|
||||
|
||||
const docker = 'Docker';
|
||||
const dockerfile = 'Dockerfile';
|
||||
|
||||
export default {
|
||||
dockerfile: `生成Dockerfile运行${common.nginx}与${common.docker}`,
|
||||
dockerCompose: '生成docker-compose.yaml来运行nginx docker-compose',
|
||||
docker,
|
||||
dockerfile,
|
||||
dockerCompose: `${docker} Compose`, // TODO: translate
|
||||
applyDockerTweaks: `Apply ${docker} tweaks`, // TODO: translate
|
||||
applyDockerTweaksForNginx: `Apply configuration tweaks for running ${common.nginx} with ${docker}`, // TODO: translate
|
||||
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>`, // TODO: translate
|
||||
includeDockerfile: `生成${dockerfile}运行${common.nginx}与${docker}`,
|
||||
includeDockerCompose: `生成docker-compose.yaml来运行${common.nginx} docker-compose`,
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -26,7 +26,16 @@ THE SOFTWARE.
|
||||
|
||||
import common from '../../common';
|
||||
|
||||
const docker = 'Docker';
|
||||
const dockerfile = 'Dockerfile';
|
||||
|
||||
export default {
|
||||
dockerfile: `生成Dockerfile運行${common.nginx}與${common.docker}`,
|
||||
dockerCompose: '生成docker-compose.yaml來運行nginx docker-compose',
|
||||
docker,
|
||||
dockerfile,
|
||||
dockerCompose: `${docker} Compose`, // TODO: translate
|
||||
applyDockerTweaks: `Apply ${docker} tweaks`, // TODO: translate
|
||||
applyDockerTweaksForNginx: `Apply configuration tweaks for running ${common.nginx} with ${docker}`, // TODO: translate
|
||||
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>`, // TODO: translate
|
||||
includeDockerfile: `生成${dockerfile}運行${common.nginx}與${docker}`,
|
||||
includeDockerCompose: `生成docker-compose.yaml來運行${common.nginx} docker-compose`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user