From 18c845120f9feb5ffe63f5a8818ad5957ca2d129 Mon Sep 17 00:00:00 2001 From: Jakub Filo Date: Wed, 24 May 2023 18:16:43 +0000 Subject: [PATCH] Configuration example for multiple vhosts --- salt/srv/pillar/base/top.sls | 2 +- salt/srv/pillar/prod/vhosts/init.sls | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 salt/srv/pillar/prod/vhosts/init.sls diff --git a/salt/srv/pillar/base/top.sls b/salt/srv/pillar/base/top.sls index 1b718ba..ab97ddd 100644 --- a/salt/srv/pillar/base/top.sls +++ b/salt/srv/pillar/base/top.sls @@ -4,4 +4,4 @@ base: prod: '*': - - motd + - vhosts diff --git a/salt/srv/pillar/prod/vhosts/init.sls b/salt/srv/pillar/prod/vhosts/init.sls new file mode 100644 index 0000000..720959c --- /dev/null +++ b/salt/srv/pillar/prod/vhosts/init.sls @@ -0,0 +1,42 @@ +vhosts: + magento.test: + php_max_children: 50 + php_mem_limit: 5G + nginx_port: 8583 + uid: 8583 + mysql_password: jdisja92834 + mysql_user: magento-test + mysql_database: magento-testdb + magento_sample_products: true + magento_admin_firstname: Jakub + magento_admin_lastname: Filo + magento_admin_user: admin + magento_admin_email: admin@plantroon.com + magento_admin_pass: mys2retpa67 + magento_marketplace_public: ae2c6ed9a7f93d4d94287369465f2a28 + magento_marketplace_private: ab2125b914215518d7484d7254288db3 + elastic_heap_min: 256m + elastic_heap_max: 1024m + php_maxmem_deploy: 50G + php_maxmem_runtime: 1G + + obchod.test2: + php_max_children: 40 + php_mem_limit: 5G + nginx_port: 8582 + uid: 8582 + mysql_password: 8d8h4uh9sfy + mysql_user: magento-test + mysql_database: magento-testdb + magento_sample_products: true + magento_admin_firstname: Jakub + magento_admin_lastname: Filo + magento_admin_user: admin + magento_admin_email: admin@plantroon.com + magento_admin_pass: mysec4etpa@s + magento_marketplace_public: ae2c6ed9a7f93d4d94287369465f2a28 + magento_marketplace_private: ab2125b914215518d7484d7254288db3 + elastic_heap_min: 256m + elastic_heap_max: 1024m + php_maxmem_deploy: 50G + php_maxmem_runtime: 1G