You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Alexander Demidov (Vostro) 07e3499946 * Increase docker-compose.yml file version from 3.6 to 3.9 3 years ago
bash mtsql.sh fix 4 years ago
config - disable numeric assets rewrite 4 years ago
data Initial commit 5 years ago
dockerfiles + remote_autostart & remote_enable in xdebug set to 1 with xdebug start 4 years ago
hostfiles Initial commit 5 years ago
log Initial commit 5 years ago
src - remove rename php.ini-development from user space build 4 years ago
.env.example * src for workspace & php build 4 years ago
.gitignore * elastic main yml file to gitignore 4 years ago
README.md * correctly pass secrets to workspace-containers 4 years ago
create-symlinks.sh * correctly pass secrets to workspace-containers 4 years ago
docker-compose.base.yml * pass INSTALL_REDIS env var 4 years ago
docker-compose.elastic.base.yml * simplify elastic container names 4 years ago
docker-compose.elastic.yml.example * simplify elastic container names 4 years ago
docker-compose.minio.base.yml * elastic use include 4 years ago
docker-compose.minio.yml * elastic use include 4 years ago
docker-compose.postgres.yml * big pre-summer refactoring 4 years ago
docker-compose.sphinx.yml * big pre-summer refactoring 4 years ago
docker-compose.yml.example * Increase docker-compose.yml file version from 3.6 to 3.9 3 years ago
get-composer-auth.sh * fix path of composer auth 4 years ago
uncreate-symlinks.sh * correctly pass secrets to workspace-containers 4 years ago

README.md

First

Create alias for docker-compose command.

echo 'alias dc="docker-compose"' >> ~/.bash_aliases

Also, you have might be needed include ~/.bash_aliases in your ~/.bashrc file.

Build all

dc build

Second

Create usefully symlinks

./create-symlinks.sh

Get composer auth token

If you do not have composer github auth.json file in ~/.composer dir. You will need launch the helper-script:

./get-composer-auth.sh

Before use and launch

You need copy vhosts.conf.example and edit this file - remove unused roots (or change to existing dirs). Setup correctly nginx config.

You ready for up containers.

dc up -d

Database dumps

Database dumps must be placement on ./hostfiles directory.

Bash scripts

After execute created symlinks, you have some enter-points for vulnerable popular tasks.

Xdebug

For start debugging in php-fpm, also in workspace

./start-xdebug.sh [74|73] - 74 by default

For start debugging in php-fpm, also in workspace

./stop-xdebug.sh or ./stop-xdebug.sh 73 if you launch start with php-version 73

Mysql

For import dumps from hostfiles directory you might be enter to mysql console:

./mysql.sh

Change you needed database and source to the *.sql dump.

use mydatabase

source /hostfiles/mydatabase.sql

Dump must be extracted before source in mysql-cli

Workspace

For execute composer update|install or nodejs operations, also yarn, npm and all node-builds. You might use workspace-container

For the enter to workspace container with php 7.4 you need launch usefully helper script in your home directory:

./enter-to-workspace.sh

For enter to workspace with php7.3 you need pass 73 container name suffix

./enter-to-workspace.sh 73

Nginx

For restart nginx after some changes in nginx configuration, you might:

./restart-nginx.sh

Src build need DOCKER_BUILDKIT

If you want build own workspace image. You need export environment variable

export DOCKER_BUILDKIT=1

more info https://github.com/edrevo/dockerfile-plus