Projet toturé : Virtual project environment : docker-compose, continuous delivery
Go to file
xdrm-brackets ffa11a8b71 +add `make start`/`make stop` with pre/post scripts +implemented database restore & backup 2018-02-18 16:49:23 +01:00
docker +upd docker-compose added docker.php-fpm-extra to install 'git' + pdo/pdo_mysql extensions 2018-02-18 16:49:23 +01:00
metactl +add `make start`/`make stop` with pre/post scripts +implemented database restore & backup 2018-02-18 16:49:23 +01:00
virtual updated submodule 'vhost' 2018-02-18 16:49:23 +01:00
.gitignore bigupd: multi-container setup (mariadb <=/=> php-fpm <===> nginx) +TODO: install php-mysql extension on 'php-fpm' service 2018-02-18 16:48:55 +01:00
.gitmodules +add submodule ptut/vhost 2018-02-18 16:49:23 +01:00
Makefile +add `make start`/`make stop` with pre/post scripts +implemented database restore & backup 2018-02-18 16:49:23 +01:00
README.md +add `make start`/`make stop` with pre/post scripts +implemented database restore & backup 2018-02-18 16:49:23 +01:00
docker-compose.yml +upd docker-compose added docker.php-fpm-extra to install 'git' + pdo/pdo_mysql extensions 2018-02-18 16:49:23 +01:00

README.md

PTUT Virtual Environment

Cloning

In order for the web submodule to load, you must clone with :

git clone --recursive https://git.xdrm.io/ptut/virtenv.git

Requirements

You need a consistent Linux System with the following packages :

  • docker
  • docker-compose
  • make

You need to add a local dns record in /etc/hosts:

127.0.0.1	ptut.com

Commands

Launch the environment

make start
  • pre-start and post-start script will be executed (i.e. restore database, etc)
  • the mounted files will match in the ./virtual folder.
  • the website will be accessible at 'ptut.com:8080'.

Stop the environment

make stop
  • pre-stop and post-stop script will be executed (i.e. backup database, etc)
  • the mounted files will remain in virtual/ (e.g. /var/log/).