Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
75acb9f8a5
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"name": "Laradock",
|
||||||
|
"dockerComposeFile": ["../docker-compose.yml"],
|
||||||
|
"runServices": ["nginx", "postgres", "pgadmin"],
|
||||||
|
"service": "workspace",
|
||||||
|
"workspaceFolder": "/var/www",
|
||||||
|
"shutdownAction": "stopCompose",
|
||||||
|
"postCreateCommand": "uname -a"
|
||||||
|
}
|
|
@ -13,4 +13,7 @@
|
||||||
/nginx/ssl/*.key
|
/nginx/ssl/*.key
|
||||||
/nginx/ssl/*.csr
|
/nginx/ssl/*.csr
|
||||||
|
|
||||||
|
/.devcontainer/*
|
||||||
|
!/.devcontainer/devcontainer.example.json
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
|
@ -650,7 +650,7 @@ docker-compose up -d metabase
|
||||||
|
|
||||||
1) Boot the container `docker-compose up -d jenkins`. To enter the container type `docker-compose exec jenkins bash`.
|
1) Boot the container `docker-compose up -d jenkins`. To enter the container type `docker-compose exec jenkins bash`.
|
||||||
|
|
||||||
2) Go to `http://localhost:8090/` (if you didn't chanhed your default port mapping)
|
2) Go to `http://localhost:8090/` (if you didn't change your default port mapping)
|
||||||
|
|
||||||
3) Authenticate from the web app.
|
3) Authenticate from the web app.
|
||||||
|
|
||||||
|
@ -1054,7 +1054,7 @@ docker-compose up -d confluence
|
||||||
|
|
||||||
2 - Open your browser and visit the localhost on port **8090**: `http://localhost:8090`
|
2 - Open your browser and visit the localhost on port **8090**: `http://localhost:8090`
|
||||||
|
|
||||||
**Note:** You can you trial version and then you have to buy a licence to use it.
|
**Note:** Confluence is a licensed application - an evaluation licence can be obtained from Atlassian.
|
||||||
|
|
||||||
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
|
You can set custom confluence version in `CONFLUENCE_VERSION`. [Find more info in section 'Versioning'](https://hub.docker.com/r/atlassian/confluence-server/)
|
||||||
|
|
||||||
|
|
|
@ -70,6 +70,16 @@ If you want to only execute some command and don't want to enter bash, you can e
|
||||||
docker-compose run workspace php artisan migrate
|
docker-compose run workspace php artisan migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Prepare for Visual Studio Code remote development
|
||||||
|
|
||||||
|
If you want to use Visual Studio Code for [remote development](https://code.visualstudio.com/docs/remote/containers) directly on your `workspace` container, copy file `devcontainer.example.json` to `devcontainer.json` and customize it (see [devcontainer.json reference](https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference) for more options):
|
||||||
|
```
|
||||||
|
cd .devcontainer
|
||||||
|
cp devcontainer.example.json devcontainer.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Then open your `laradock` folder in Visual Studio Code and click on popup button **Reopen in Container**.
|
||||||
|
|
||||||
### Install and configure Laravel
|
### Install and configure Laravel
|
||||||
|
|
||||||
Let's install Laravel's dependencies, add the `.env` file, generate the key and give proper permissions to the cache folder.
|
Let's install Laravel's dependencies, add the `.env` file, generate the key and give proper permissions to the cache folder.
|
||||||
|
|
|
@ -12,6 +12,8 @@ ENV TZ ${TZ}
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
|
||||||
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
||||||
|
|
||||||
|
RUN chmod -R 644 /etc/mysql/conf.d/my.cnf
|
||||||
|
|
||||||
CMD ["mysqld"]
|
CMD ["mysqld"]
|
||||||
|
|
||||||
EXPOSE 3306
|
EXPOSE 3306
|
||||||
|
|
|
@ -13,6 +13,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
|
||||||
|
|
||||||
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
COPY my.cnf /etc/mysql/conf.d/my.cnf
|
||||||
|
|
||||||
|
RUN chmod 0444 /etc/mysql/conf.d/my.cnf
|
||||||
|
|
||||||
CMD ["mysqld"]
|
CMD ["mysqld"]
|
||||||
|
|
||||||
EXPOSE 3306
|
EXPOSE 3306
|
||||||
|
|
|
@ -708,7 +708,11 @@ ARG INSTALL_MYSQL_CLIENT=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
|
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
|
||||||
apt-get update -yqq && \
|
apt-get update -yqq && \
|
||||||
apt-get -y install mysql-client \
|
if [ ${LARADOCK_PHP_VERSION} = "7.3" ]; then \
|
||||||
|
apt-get -y install default-mysql-client \
|
||||||
|
;else \
|
||||||
|
apt-get -y install mysql-client \
|
||||||
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
|
@ -66,7 +66,11 @@ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||||
# Install MySQL Client:
|
# Install MySQL Client:
|
||||||
ARG INSTALL_MYSQL_CLIENT=false
|
ARG INSTALL_MYSQL_CLIENT=false
|
||||||
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
|
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
|
||||||
apk --update add mysql-client \
|
if [ ${PHP_VERSION} = "7.3" ]; then \
|
||||||
|
apk --update add default-mysql-client \
|
||||||
|
;else \
|
||||||
|
apk --update add mysql-client \
|
||||||
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Install FFMPEG:
|
# Install FFMPEG:
|
||||||
|
|
Loading…
Reference in New Issue