From d4fd975a7d05fad363f07da93787f9ae3bb52d7b Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Sat, 19 May 2018 00:10:04 -0700 Subject: [PATCH] Deploy website Deploy website version based on 9f6da0087120ec0ed8990297011a48f67b093888 --- CNAME | 1 - docs/one-click-apps.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index e77efa9..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -captainduckduck.com \ No newline at end of file diff --git a/docs/one-click-apps.html b/docs/one-click-apps.html index d099821..ff4a43d 100644 --- a/docs/one-click-apps.html +++ b/docs/one-click-apps.html @@ -11,7 +11,7 @@

They all come with pre-configured settings, however, you'll be have the option to customize the settings. For example, MySQL database uses port 3306, but you can change this port to another port if it suits your needs.

It is important to mention that some of these configuration parameters, might show up as environmental variables in your app settings after you deploy the app, however, their values only being used in the installing phase. i.e., changing password of MySQL through changing the PASSWORD environmental variable will not work. Instead, you should use MySQL commands to change the password. The PASSWORD environmental variable is being used to set up the original password during the installation phase.

Connecting to Databases

-

Note that since all these applications are Docker containers, you can have multiple MySQL databases on running on port 3306 without having any conflict. If you want to connect to two different MySQL databases, from a PHP app, where both PHP and MySQLs are under the same instance of CaptainDuckDuck, you can use srv-captain--mysqlappname1:3306 srv-captain--mysqlappname2:3306.

+

Note that since all these applications are Docker containers, you can have multiple MySQL databases on running on port 3306 without having any conflict. If you want to connect to two different MySQL databases, from a PHP app, where both PHP and MySQLs are under the same instance of CaptainDuckDuck, you can use srv-captain--mysqlappname1:3306 and srv-captain--mysqlappname2:3306.

However, if you want to connect to your database from a remote machine (e.g. your laptop) you need to map a container port to a server port. In that case, you have to map two different ports on the server, for example: