提交 f62e1a80 编写于 作者: B bestlong

deploy: 7b1eee54

上级 dc9cb02b
......@@ -320,7 +320,14 @@ Password: somesupersecretpassword (if you haven&rsquo;t changed the password)</p
</code></pre><p>3 - Open your command line and use a MQTT Client (Eg. <a href=https://github.com/mqttjs/MQTT.js>https://github.com/mqttjs/MQTT.js</a>) to subscribe a topic and publish a message.</p><p>4 - Subscribe: <code>mqtt sub -t 'test' -h localhost -p 9001 -C 'ws' -v</code></p><p>5 - Publish: <code>mqtt pub -t 'test' -h localhost -p 9001 -C 'ws' -m 'Hello!'</code></p><p><br><a name=Use-Tarantool></a></p><h2 id=use-tarantool-admin-panel>Use Tarantool (+ Admin panel)</h2><p>1 - Configure Tarantool Port and Tarantool Admin Port using environment variables: <code>TARANTOOL_PORT</code> and <code>TARANTOOL_ADMIN_PORT</code>. Default ports are 3301 and 8002.</p><p>2 - Run the Tarantool and Tarantool Admin tool using <code>docker-compose up</code>command:</p><pre><code class=language-bash>docker-compose up -d tarantool tarantool-admin
</code></pre><p>3 - You can open admin tool visiting localhost:8002</p><p>4 - There you should set <code>Hostname</code> with the value <code>tarantool</code></p><p>5 - After that your tarantool data will be available inside admin panel.</p><p>6 - Also you can connect to tarantool server in console mode with this command:</p><pre><code class=language-bash>docker-compose exec tarantool console
</code></pre><p>7 - There you can operate with tarantool database (<a href=https://www.tarantool.io/en/doc/latest/>official documentation</a> can be helpful).</p><p><br><a name="use Keycloak"></a></p><h2 id=use-keycloak>Use Keycloak</h2><ol><li>Run the Keycloak Container (<code>keycloak</code>) with the <code>docker-compose up</code> command. Example:</li></ol><pre><code class=language-bash>docker-compose up -d keycloak
</code></pre><ol><li><p>Open your browser and visit the localhost on port 8081: <code>http://localhost:8081</code></p></li><li><p>Login with the following credentials:</p><ul><li>Username: <code>admin</code></li><li>Password: <code>secret</code></li></ul></li></ol><p><br><a name=CodeIgniter></a></p><p><br><a name=Install-CodeIgniter></a></p><h2 id=install-codeigniter>Install CodeIgniter</h2><p>To install CodeIgniter 3 on Laradock all you have to do is the following simple steps:</p><p>1 - Open the <code>docker-compose.yml</code> file.</p><p>2 - Change <code>CODEIGNITER=false</code> to <code>CODEIGNITER=true</code>.</p><p>3 - Re-build your PHP-FPM Container <code>docker-compose build php-fpm</code>.</p><p><br><a name=Install-Powerline></a></p><h2 id=install-powerline>Install Powerline</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_POWERLINE</code> and <code>WORKSPACE_INSTALL_PYTHON</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>Powerline is required python</p><p><br><a name=Install-Symfony></a></p><h2 id=install-symfony>Install Symfony</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_SYMFONY</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>3 - The NGINX sites include a default config file for your Symfony project <code>symfony.conf.example</code>, so edit it and make sure the <code>root</code> is pointing to your project <code>web</code> directory.</p><p>4 - Run <code>docker-compose restart</code> if the container was already running, before the step above.</p><p>5 - Visit <code>symfony.test</code></p><p><br><a name=Misc></a></p><h2 id=miscellaneous>Miscellaneous</h2><p><br><a name=Change-the-timezone></a></p><h2 id=change-the-timezone>Change the timezone</h2><p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>TZ database</a>.</p><p>For example, if I want the timezone to be <code>New York</code>:</p><pre><code class=language-yml> workspace:
</code></pre><ol><li><p>Open your browser and visit the localhost on port 8081: <code>http://localhost:8081</code></p></li><li><p>Login with the following credentials:</p><ul><li>Username: <code>admin</code></li><li>Password: <code>secret</code></li></ul></li></ol><p><br><a name="use Mailpit"></a></p><h2 id=use-mailpit>Use Mailpit</h2><ol><li>Run the Mailpit Container (<code>mailpit</code>) with the <code>docker-compose up</code> command. Example:</li></ol><pre><code class=language-bash>docker-compose up -d mailpit
</code></pre><ol><li>Open your browser and visit the localhost on port 8125: <code>http://localhost:8125</code></li><li>Setup config in your Laravel project’s .env file
<code>text
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1125
MAIL_USERNAME=null
MAIL_PASSWORD=null</code></li></ol><p><br><a name=CodeIgniter></a></p><p><br><a name=Install-CodeIgniter></a></p><h2 id=install-codeigniter>Install CodeIgniter</h2><p>To install CodeIgniter 3 on Laradock all you have to do is the following simple steps:</p><p>1 - Open the <code>docker-compose.yml</code> file.</p><p>2 - Change <code>CODEIGNITER=false</code> to <code>CODEIGNITER=true</code>.</p><p>3 - Re-build your PHP-FPM Container <code>docker-compose build php-fpm</code>.</p><p><br><a name=Install-Powerline></a></p><h2 id=install-powerline>Install Powerline</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_POWERLINE</code> and <code>WORKSPACE_INSTALL_PYTHON</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>Powerline is required python</p><p><br><a name=Install-Symfony></a></p><h2 id=install-symfony>Install Symfony</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_SYMFONY</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>3 - The NGINX sites include a default config file for your Symfony project <code>symfony.conf.example</code>, so edit it and make sure the <code>root</code> is pointing to your project <code>web</code> directory.</p><p>4 - Run <code>docker-compose restart</code> if the container was already running, before the step above.</p><p>5 - Visit <code>symfony.test</code></p><p><br><a name=Misc></a></p><h2 id=miscellaneous>Miscellaneous</h2><p><br><a name=Change-the-timezone></a></p><h2 id=change-the-timezone>Change the timezone</h2><p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>TZ database</a>.</p><p>For example, if I want the timezone to be <code>New York</code>:</p><pre><code class=language-yml> workspace:
build:
context: ./workspace
args:
......
......@@ -457,7 +457,14 @@ Password: somesupersecretpassword (if you haven&rsquo;t changed the password)</p
</code></pre><p>3 - Open your command line and use a MQTT Client (Eg. <a href=https://github.com/mqttjs/MQTT.js>https://github.com/mqttjs/MQTT.js</a>) to subscribe a topic and publish a message.</p><p>4 - Subscribe: <code>mqtt sub -t 'test' -h localhost -p 9001 -C 'ws' -v</code></p><p>5 - Publish: <code>mqtt pub -t 'test' -h localhost -p 9001 -C 'ws' -m 'Hello!'</code></p><p><br><a name=Use-Tarantool></a></p><h2 id=use-tarantool-admin-panel>Use Tarantool (+ Admin panel)</h2><p>1 - Configure Tarantool Port and Tarantool Admin Port using environment variables: <code>TARANTOOL_PORT</code> and <code>TARANTOOL_ADMIN_PORT</code>. Default ports are 3301 and 8002.</p><p>2 - Run the Tarantool and Tarantool Admin tool using <code>docker-compose up</code>command:</p><pre><code class=language-bash>docker-compose up -d tarantool tarantool-admin
</code></pre><p>3 - You can open admin tool visiting localhost:8002</p><p>4 - There you should set <code>Hostname</code> with the value <code>tarantool</code></p><p>5 - After that your tarantool data will be available inside admin panel.</p><p>6 - Also you can connect to tarantool server in console mode with this command:</p><pre><code class=language-bash>docker-compose exec tarantool console
</code></pre><p>7 - There you can operate with tarantool database (<a href=https://www.tarantool.io/en/doc/latest/>official documentation</a> can be helpful).</p><p><br><a name="use Keycloak"></a></p><h2 id=use-keycloak>Use Keycloak</h2><ol><li>Run the Keycloak Container (<code>keycloak</code>) with the <code>docker-compose up</code> command. Example:</li></ol><pre><code class=language-bash>docker-compose up -d keycloak
</code></pre><ol><li><p>Open your browser and visit the localhost on port 8081: <code>http://localhost:8081</code></p></li><li><p>Login with the following credentials:</p><ul><li>Username: <code>admin</code></li><li>Password: <code>secret</code></li></ul></li></ol><p><br><a name=CodeIgniter></a></p><p><br><a name=Install-CodeIgniter></a></p><h2 id=install-codeigniter>Install CodeIgniter</h2><p>To install CodeIgniter 3 on Laradock all you have to do is the following simple steps:</p><p>1 - Open the <code>docker-compose.yml</code> file.</p><p>2 - Change <code>CODEIGNITER=false</code> to <code>CODEIGNITER=true</code>.</p><p>3 - Re-build your PHP-FPM Container <code>docker-compose build php-fpm</code>.</p><p><br><a name=Install-Powerline></a></p><h2 id=install-powerline>Install Powerline</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_POWERLINE</code> and <code>WORKSPACE_INSTALL_PYTHON</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>Powerline is required python</p><p><br><a name=Install-Symfony></a></p><h2 id=install-symfony>Install Symfony</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_SYMFONY</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>3 - The NGINX sites include a default config file for your Symfony project <code>symfony.conf.example</code>, so edit it and make sure the <code>root</code> is pointing to your project <code>web</code> directory.</p><p>4 - Run <code>docker-compose restart</code> if the container was already running, before the step above.</p><p>5 - Visit <code>symfony.test</code></p><p><br><a name=Misc></a></p><h2 id=miscellaneous>Miscellaneous</h2><p><br><a name=Change-the-timezone></a></p><h2 id=change-the-timezone>Change the timezone</h2><p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>TZ database</a>.</p><p>For example, if I want the timezone to be <code>New York</code>:</p><pre><code class=language-yml> workspace:
</code></pre><ol><li><p>Open your browser and visit the localhost on port 8081: <code>http://localhost:8081</code></p></li><li><p>Login with the following credentials:</p><ul><li>Username: <code>admin</code></li><li>Password: <code>secret</code></li></ul></li></ol><p><br><a name="use Mailpit"></a></p><h2 id=use-mailpit>Use Mailpit</h2><ol><li>Run the Mailpit Container (<code>mailpit</code>) with the <code>docker-compose up</code> command. Example:</li></ol><pre><code class=language-bash>docker-compose up -d mailpit
</code></pre><ol><li>Open your browser and visit the localhost on port 8125: <code>http://localhost:8125</code></li><li>Setup config in your Laravel project’s .env file
<code>text
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1125
MAIL_USERNAME=null
MAIL_PASSWORD=null</code></li></ol><p><br><a name=CodeIgniter></a></p><p><br><a name=Install-CodeIgniter></a></p><h2 id=install-codeigniter>Install CodeIgniter</h2><p>To install CodeIgniter 3 on Laradock all you have to do is the following simple steps:</p><p>1 - Open the <code>docker-compose.yml</code> file.</p><p>2 - Change <code>CODEIGNITER=false</code> to <code>CODEIGNITER=true</code>.</p><p>3 - Re-build your PHP-FPM Container <code>docker-compose build php-fpm</code>.</p><p><br><a name=Install-Powerline></a></p><h2 id=install-powerline>Install Powerline</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_POWERLINE</code> and <code>WORKSPACE_INSTALL_PYTHON</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>Powerline is required python</p><p><br><a name=Install-Symfony></a></p><h2 id=install-symfony>Install Symfony</h2><p>1 - Open the <code>.env</code> file and set <code>WORKSPACE_INSTALL_SYMFONY</code> to <code>true</code>.</p><p>2 - Run <code>docker-compose build workspace</code>, after the step above.</p><p>3 - The NGINX sites include a default config file for your Symfony project <code>symfony.conf.example</code>, so edit it and make sure the <code>root</code> is pointing to your project <code>web</code> directory.</p><p>4 - Run <code>docker-compose restart</code> if the container was already running, before the step above.</p><p>5 - Visit <code>symfony.test</code></p><p><br><a name=Misc></a></p><h2 id=miscellaneous>Miscellaneous</h2><p><br><a name=Change-the-timezone></a></p><h2 id=change-the-timezone>Change the timezone</h2><p>To change the timezone for the <code>workspace</code> container, modify the <code>TZ</code> build argument in the Docker Compose file to one in the <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>TZ database</a>.</p><p>For example, if I want the timezone to be <code>New York</code>:</p><pre><code class=language-yml> workspace:
build:
context: ./workspace
args:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册