create docker image for acme-nginx
This commit is contained in:
6
.idea/.gitignore
generated
vendored
Normal file
6
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# Default ignored files
|
||||
/workspace.xml
|
||||
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
27
.idea/dataSources.xml
generated
Normal file
27
.idea/dataSources.xml
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="sql.xai-corp.net" uuid="50d1cd4d-852c-4d57-bd9b-ccf70b0f652a">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<remarks>nextcloud</remarks>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://sql.xai-corp.net:3306/nextcloud2</jdbc-url>
|
||||
<driver-properties>
|
||||
<property name="autoReconnect" value="true" />
|
||||
<property name="zeroDateTimeBehavior" value="CONVERT_TO_NULL" />
|
||||
<property name="tinyInt1isBit" value="false" />
|
||||
<property name="characterEncoding" value="utf8" />
|
||||
<property name="characterSetResults" value="utf8" />
|
||||
<property name="yearIsDateType" value="false" />
|
||||
</driver-properties>
|
||||
</data-source>
|
||||
<data-source source="LOCAL" name="xaicorp_default@sql.xai-corp.net" uuid="24a224c6-845c-41ce-9c9d-fa5d54f7b87e">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<remarks>production postgres database</remarks>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://sql.xai-corp.net:5432/xaicorp_default</jdbc-url>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
4
.idea/encodings.xml
generated
Normal file
4
.idea/encodings.xml
generated
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||
</project>
|
||||
7
.idea/jenkinsSettings.xml
generated
Normal file
7
.idea/jenkinsSettings.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Jenkins.Application.Settings">
|
||||
<option name="serverUrl" value="https://jenkins.xai-corp.net" />
|
||||
<option name="useGreenColor" value="true" />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/provisioning.iml" filepath="$PROJECT_DIR$/.idea/provisioning.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/php.xml
generated
Normal file
8
.idea/php.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpCodeSniffer">
|
||||
<phpcs_settings>
|
||||
<PhpCSConfiguration standards="MySource;PEAR;PHPCS;PSR1;PSR2;Squiz;Zend" tool_path="$USER_HOME$/.composer/vendor/bin/phpcs" />
|
||||
</phpcs_settings>
|
||||
</component>
|
||||
</project>
|
||||
8
.idea/provisioning.iml
generated
Normal file
8
.idea/provisioning.iml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
18
.idea/runConfigurations/Build_Apps.xml
generated
Normal file
18
.idea/runConfigurations/Build_Apps.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build Apps" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/build_apps.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_Services.xml
generated
Normal file
18
.idea/runConfigurations/Build_Services.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build Services" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/services/build_services.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_ansible.xml
generated
Normal file
18
.idea/runConfigurations/Build_ansible.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build ansible" type="BashConfigurationType" factoryName="Bash" folderName="Build Containers">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/tasks/ansible" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/tasks/ansible/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_apidocjs.xml
generated
Normal file
18
.idea/runConfigurations/Build_apidocjs.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build apidocjs" type="BashConfigurationType" factoryName="Bash" folderName="Build Containers">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/tasks/apidocjs" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/tasks/apidocjs/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_composer.xml
generated
Normal file
18
.idea/runConfigurations/Build_composer.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build composer" type="BashConfigurationType" factoryName="Bash" folderName="Build Containers" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/tasks/composer" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/tasks/composer/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_php.xml
generated
Normal file
18
.idea/runConfigurations/Build_php.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build php" type="BashConfigurationType" factoryName="Bash" folderName="Build Containers" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/tasks/dev-php7.0" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/tasks/dev-php7.0/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Build_sslproxy.xml
generated
Normal file
18
.idea/runConfigurations/Build_sslproxy.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build sslproxy" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/sslproxy" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/sslproxy/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/Build_xaicloud.xml
generated
Normal file
17
.idea/runConfigurations/Build_xaicloud.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Build xaicloud" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/nextcloud" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/nextcloud/build.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Launch_Apps.xml
generated
Normal file
18
.idea/runConfigurations/Launch_Apps.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Launch Apps" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/launch_apps.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Launch_Networks.xml
generated
Normal file
18
.idea/runConfigurations/Launch_Networks.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Launch Networks" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/services/deploy_networks.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Launch_Services.xml
generated
Normal file
18
.idea/runConfigurations/Launch_Services.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Launch Services" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/services/launch_services.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
20
.idea/runConfigurations/Launch_sslproxy.xml
generated
Normal file
20
.idea/runConfigurations/Launch_sslproxy.xml
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Launch sslproxy" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/sslproxy" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/sslproxy/deploy.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2">
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Build sslproxy" run_configuration_type="BashConfigurationType" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/Launch_xaicloud.xml
generated
Normal file
17
.idea/runConfigurations/Launch_xaicloud.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Launch xaicloud" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/nextcloud" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/nextcloud/deploy.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
21
.idea/runConfigurations/Recover_System.xml
generated
Normal file
21
.idea/runConfigurations/Recover_System.xml
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Recover System" type="BashConfigurationType" factoryName="Bash" folderName="Manage Containers">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/launch_apps.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2">
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Launch Networks" run_configuration_type="BashConfigurationType" />
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Launch Services" run_configuration_type="BashConfigurationType" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
7
.idea/runConfigurations/Recover_system.xml
generated
Normal file
7
.idea/runConfigurations/Recover_system.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Recover system" type="CompoundRunConfigurationType">
|
||||
<toRun name="Launch Services" type="BashConfigurationType" />
|
||||
<toRun name="Launch Apps" type="BashConfigurationType" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Stop_Apps.xml
generated
Normal file
18
.idea/runConfigurations/Stop_Apps.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Stop Apps" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/stop_apps.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/Stop_Services.xml
generated
Normal file
18
.idea/runConfigurations/Stop_Services.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Stop Services" type="BashConfigurationType" factoryName="Bash" folderName="Build Scripts">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/services/stop_services.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
7
.idea/runConfigurations/Update_Apps.xml
generated
Normal file
7
.idea/runConfigurations/Update_Apps.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Update Apps" type="CompoundRunConfigurationType">
|
||||
<toRun name="Launch xaicloud" type="BashConfigurationType" />
|
||||
<toRun name="Build xaicloud" type="BashConfigurationType" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
9
.idea/runConfigurations/Update_Containers.xml
generated
Normal file
9
.idea/runConfigurations/Update_Containers.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Update Containers" type="CompoundRunConfigurationType">
|
||||
<toRun name="Build composer" type="BashConfigurationType" />
|
||||
<toRun name="Build apidocjs" type="BashConfigurationType" />
|
||||
<toRun name="Build php" type="BashConfigurationType" />
|
||||
<toRun name="Build ansible" type="BashConfigurationType" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
24
.idea/runConfigurations/Update_System.xml
generated
Normal file
24
.idea/runConfigurations/Update_System.xml
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Update System" type="BashConfigurationType" factoryName="Bash" folderName="Manage Containers">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/dockerfiles/services/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/dockerfiles/services/launch_apps.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="DKREGISTRY_PASS" value="me1" />
|
||||
<env name="DKREGISTRY" value="dkregistry.xai-corp.net:5000" />
|
||||
<env name="NETWORK" value="prod" />
|
||||
</envs>
|
||||
<method v="2">
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Launch Networks" run_configuration_type="BashConfigurationType" />
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Build Services" run_configuration_type="BashConfigurationType" />
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Build Apps" run_configuration_type="BashConfigurationType" />
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Launch Services" run_configuration_type="BashConfigurationType" />
|
||||
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Launch Apps" run_configuration_type="BashConfigurationType" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/config_cubox_i_xai_corp_net.xml
generated
Normal file
17
.idea/runConfigurations/config_cubox_i_xai_corp_net.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="config cubox-i.xai-corp.net" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="cubox-i.xai-corp.net" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/config_dkhost_xai_corp_net.xml
generated
Normal file
17
.idea/runConfigurations/config_dkhost_xai_corp_net.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="config dkhost.xai-corp.net" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="dkhost.xai-corp.net" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/config_home_xai_corp_net.xml
generated
Normal file
17
.idea/runConfigurations/config_home_xai_corp_net.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="config home.xai-corp.net" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="home.xai-corp.net" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/setup_glusterfs.xml
generated
Normal file
17
.idea/runConfigurations/setup_glusterfs.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="setup glusterfs" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="glusterfs" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/setup_managed.xml
generated
Normal file
17
.idea/runConfigurations/setup_managed.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="setup managed" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="managed_setup" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
17
.idea/runConfigurations/update_managed.xml
generated
Normal file
17
.idea/runConfigurations/update_managed.xml
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="update managed" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="PLAYBOOK" value="managed_updates" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
18
.idea/runConfigurations/update_name_servers.xml
generated
Normal file
18
.idea/runConfigurations/update_name_servers.xml
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="update name servers" type="BashConfigurationType" factoryName="Bash" folderName="Server Management" singleton="true">
|
||||
<option name="INTERPRETER_OPTIONS" value="-ex" />
|
||||
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||
<option name="PROJECT_INTERPRETER" value="false" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/" />
|
||||
<option name="PARENT_ENVS" value="true" />
|
||||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/scripts/ansible.sh" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<module name="" />
|
||||
<envs>
|
||||
<env name="HOST" value="dkhost02" />
|
||||
<env name="TERM" value="xterm-color" />
|
||||
<env name="PLAYBOOK" value="ns.xai-corp.net" />
|
||||
</envs>
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
11
.idea/sshConfigs.xml
generated
Normal file
11
.idea/sshConfigs.xml
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SshConfigs">
|
||||
<configs>
|
||||
<sshConfig host="192.168.2.11" id="70bdbabf-db45-47a0-b2da-6be7a975b6fa" keyPath="$USER_HOME$/.ssh/id_rsa" port="22" customName="home.xai-corp.net" nameFormat="CUSTOM" username="ansible" />
|
||||
<sshConfig host="192.168.2.22" id="c31798ce-5b4f-4118-bdf5-5cb9558d855a" keyPath="$USER_HOME$/.ssh/id_rsa" port="22" customName="home02.xai-corp.net" nameFormat="CUSTOM" username="ansible" />
|
||||
<sshConfig host="192.168.2.18" id="3d088a15-cbe4-479f-9805-05b8a7059f5a" keyPath="$USER_HOME$/.ssh/id_rsa" port="22" customName="web01.xai-corp.net" nameFormat="CUSTOM" username="ansible" />
|
||||
<sshConfig host="192.168.2.18" id="0b324960-0566-4103-bd7d-a290a70ceddc" keyPath="$USER_HOME$/.ssh/id_rsa" port="22" customName="web01.xai-corp.net" nameFormat="CUSTOM" username="ansible" />
|
||||
</configs>
|
||||
</component>
|
||||
</project>
|
||||
0
dockerfiles/tasks/acme-nginx/cli/.bash_cli
Normal file
0
dockerfiles/tasks/acme-nginx/cli/.bash_cli
Normal file
11
dockerfiles/tasks/acme-nginx/cli/update-scripts
Executable file
11
dockerfiles/tasks/acme-nginx/cli/update-scripts
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
echo -e "\033[36mTODO\033[39m: Implement this command"
|
||||
|
||||
CONFIG='run/docker-compose.yml'
|
||||
|
||||
docker-compose -f ${CONFIG} run --rm app \
|
||||
-k /path/to/account.key \
|
||||
--domain-private-key /path/to/domain.key \
|
||||
--virtual-host /etc/nginx/sites-enabled/customvhost \
|
||||
-o /path/to/signed_certificate.pem \
|
||||
-d example.com -d www.example.com
|
||||
3
dockerfiles/tasks/acme-nginx/cli/update-scripts.help
Normal file
3
dockerfiles/tasks/acme-nginx/cli/update-scripts.help
Normal file
@@ -0,0 +1,3 @@
|
||||
ARGS - The arguments you wish to provide to this command
|
||||
|
||||
TODO: Fill out the help information for this command.
|
||||
1
dockerfiles/tasks/acme-nginx/cli/update-scripts.usage
Normal file
1
dockerfiles/tasks/acme-nginx/cli/update-scripts.usage
Normal file
@@ -0,0 +1 @@
|
||||
ARGS...
|
||||
13
dockerfiles/tasks/acme-nginx/run/docker-compose.yml
Normal file
13
dockerfiles/tasks/acme-nginx/run/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: dkregistry.xai-corp.net:5000/xaicorp/acme-nginx:latest
|
||||
volumes:
|
||||
- /etc/nginx:/etc/nginx
|
||||
pid: host
|
||||
command:
|
||||
- -h
|
||||
|
||||
17
dockerfiles/tasks/acme-nginx/run/update_certs.Jenkinsfile
Normal file
17
dockerfiles/tasks/acme-nginx/run/update_certs.Jenkinsfile
Normal file
@@ -0,0 +1,17 @@
|
||||
pipeline {
|
||||
agent { label 'docker' }
|
||||
triggers {
|
||||
cron('@monthly')
|
||||
}
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
buildDiscarder(logRotator(numToKeepStr: '2'))
|
||||
}
|
||||
stages {
|
||||
stage('Update Certificates') {
|
||||
steps {
|
||||
sh 'echo TODO: run docker'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user