Merge pull request #662 from zeroc0d3/master
Fixing environment in docker-compose file
This commit is contained in:
commit
8315a3872d
|
@ -9,4 +9,4 @@ charset = utf-8
|
||||||
|
|
||||||
[{Dockerfile,docker-compose.yml}]
|
[{Dockerfile,docker-compose.yml}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 2
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
/logs
|
/logs
|
||||||
/data
|
/data
|
||||||
.env
|
.env
|
||||||
|
/.project
|
|
@ -82,6 +82,7 @@ Your folder structure should look like this:
|
||||||
*Or you can keep `default.conf` as it is, and create a separate config `my-site.conf` file for it.*
|
*Or you can keep `default.conf` as it is, and create a separate config `my-site.conf` file for it.*
|
||||||
|
|
||||||
**In case of Apache:** :P
|
**In case of Apache:** :P
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ services:
|
||||||
- PUID=${WORKSPACE_PUID}
|
- PUID=${WORKSPACE_PUID}
|
||||||
- PGID=${WORKSPACE_PGID}
|
- PGID=${WORKSPACE_PGID}
|
||||||
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
||||||
- YARN_VERSION=${WORKSPACE_YARN_VERSION}
|
- YARN_VERSION=${WORKSPACE_TIMEZONE}
|
||||||
- TZ=${WORKSPACE_TIMEZONE}
|
- TZ=${WORKSPACE_TIMEZONE}
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
|
@ -112,8 +112,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${APACHE_HOST_LOG_PATH}:/var/log/apache2
|
- ${APACHE_HOST_LOG_PATH}:/var/log/apache2
|
||||||
- ./apache2/sites:/etc/apache2/sites-available
|
- ./apache2/sites:/etc/apache2/sites-available
|
||||||
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "${APACHE_HOST_HTTP_PORT}:80"
|
- "${APACHE_HOST_HTTP_PORT}:80"
|
||||||
- "${APACHE_HOST_HTTPS_PORT}:443"
|
- "${APACHE_HOST_HTTPS_PORT}:443"
|
||||||
|
@ -140,8 +138,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${MINIO_PORT}:9000"
|
- "${MINIO_PORT}:9000"
|
||||||
environment:
|
environment:
|
||||||
MINIO_ACCESS_KEY: access
|
- MINIO_ACCESS_KEY=access
|
||||||
MINIO_SECRET_KEY: secretkey
|
- MINIO_SECRET_KEY=secretkey
|
||||||
|
|
||||||
### MySQL Container #########################################
|
### MySQL Container #########################################
|
||||||
|
|
||||||
|
@ -167,10 +165,10 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${MARIADB_PORT}:3306"
|
- "${MARIADB_PORT}:3306"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: ${MARIADB_DATABASE}
|
- MYSQL_DATABASE=${MARIADB_DATABASE}
|
||||||
MYSQL_USER: ${MARIADB_USER}
|
- MYSQL_USER=${MARIADB_USER}
|
||||||
MYSQL_PASSWORD: ${MARIADB_PASSWORD}
|
- MYSQL_PASSWORD=${MARIADB_PASSWORD}
|
||||||
MYSQL_ROOT_PASSWORD: ${MARIADB_PORT}
|
- MYSQL_ROOT_PASSWORD=${MARIADB_PORT}
|
||||||
|
|
||||||
### PostgreSQL Container ####################################
|
### PostgreSQL Container ####################################
|
||||||
|
|
||||||
|
@ -181,9 +179,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${POSTGRES_PORT}:5432"
|
- "${POSTGRES_PORT}:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
|
||||||
### PostgreSQL PostGis Container ############################
|
### PostgreSQL PostGis Container ############################
|
||||||
|
|
||||||
|
@ -194,9 +192,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${POSTGRES_PORT}:5432"
|
- "${POSTGRES_PORT}:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
|
||||||
### Neo4j Container #########################################
|
### Neo4j Container #########################################
|
||||||
|
|
||||||
|
@ -251,7 +249,6 @@ services:
|
||||||
- "3002:3002"
|
- "3002:3002"
|
||||||
- "3003:3003"
|
- "3003:3003"
|
||||||
|
|
||||||
|
|
||||||
### Memcached Container #####################################
|
### Memcached Container #####################################
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
|
@ -283,8 +280,8 @@ services:
|
||||||
- "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671"
|
- "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671"
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
|
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
|
||||||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||||
depends_on:
|
depends_on:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
|
@ -319,10 +316,10 @@ services:
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
build: ./phpmyadmin
|
build: ./phpmyadmin
|
||||||
environment:
|
environment:
|
||||||
PMA_ARBITRARY: 1
|
- PMA_ARBITRARY=1
|
||||||
MYSQL_USER: ${PMA_USER}
|
- MYSQL_USER=${PMA_USER}
|
||||||
MYSQL_PASSWORD: ${PMA_PASSWORD}
|
- MYSQL_PASSWORD=${PMA_PASSWORD}
|
||||||
MYSQL_ROOT_PASSWORD: ${PMA_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${PMA_ROOT_PASSWORD}
|
||||||
ports:
|
ports:
|
||||||
- "${PMA_PORT}:80"
|
- "${PMA_PORT}:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -359,8 +356,8 @@ services:
|
||||||
- ./data/certbot/certs/:/var/certs
|
- ./data/certbot/certs/:/var/certs
|
||||||
- ./certbot/letsencrypt/:/var/www/letsencrypt
|
- ./certbot/letsencrypt/:/var/www/letsencrypt
|
||||||
environment:
|
environment:
|
||||||
CN: "fake.domain.com"
|
- CN="fake.domain.com"
|
||||||
EMAIL: "fake.email@gmail.com"
|
- EMAIL="fake.email@gmail.com"
|
||||||
|
|
||||||
### Mailhog Container #########################################
|
### Mailhog Container #########################################
|
||||||
|
|
||||||
|
|
|
@ -217,6 +217,7 @@
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
5 - Open your browser and visit your localhost address <code>http://localhost/</code>. If you followed the multiple projects setup, you can visit <code>http://project-1.dev/</code> and <code>http://project-2.dev/</code>. But first don&rsquo;t</p>
|
5 - Open your browser and visit your localhost address <code>http://localhost/</code>. If you followed the multiple projects setup, you can visit <code>http://project-1.dev/</code> and <code>http://project-2.dev/</code>. But first don&rsquo;t</p>
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
|
@ -1949,7 +1949,6 @@ These Docker Compose projects have piqued our interest:</li>
|
||||||
<h2 id="i-have-a-question-problem">I have a Question/Problem</h2>
|
<h2 id="i-have-a-question-problem">I have a Question/Problem</h2>
|
||||||
|
|
||||||
<p>If you have questions about how to use Laradock, please direct your questions to the discussion on <a href="https://gitter.im/Laradock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as <code>Question</code>) And you can still seek help on Gitter for it.</p>
|
<p>If you have questions about how to use Laradock, please direct your questions to the discussion on <a href="https://gitter.im/Laradock/laradock">Gitter</a>. If you believe your question could help others, then consider opening an <a href="https://github.com/laradock/laradock/issues">Issue</a> (it will be labeled as <code>Question</code>) And you can still seek help on Gitter for it.</p>
|
||||||
|
|
||||||
<h2 id="i-found-an-issue">I found an Issue</h2>
|
<h2 id="i-found-an-issue">I found an Issue</h2>
|
||||||
|
|
||||||
<p>If have an issue or you found a typo in the documentation, you can help us by
|
<p>If have an issue or you found a typo in the documentation, you can help us by
|
||||||
|
|
|
@ -1713,7 +1713,6 @@ features, by not reporting duplicate issues.</em></p>
|
||||||
<h3 id="to-host-the-website-locally">To Host the website locally</h3>
|
<h3 id="to-host-the-website-locally">To Host the website locally</h3>
|
||||||
|
|
||||||
<p>Go to <code>DOCUMENTATION/_settings</code> in your terminal and run <code>hugo serve</code> to host the website locally.</p>
|
<p>Go to <code>DOCUMENTATION/_settings</code> in your terminal and run <code>hugo serve</code> to host the website locally.</p>
|
||||||
|
|
||||||
<h3 id="edit-the-sidebar">Edit the sidebar</h3>
|
<h3 id="edit-the-sidebar">Edit the sidebar</h3>
|
||||||
|
|
||||||
<p>To add a new section to the sidebar or edit existing one, you need to edit this file <code>DOCUMENTATION/_settings/config.toml</code>.</p>
|
<p>To add a new section to the sidebar or edit existing one, you need to edit this file <code>DOCUMENTATION/_settings/config.toml</code>.</p>
|
||||||
|
|
Loading…
Reference in New Issue