Projet toturé : Virtual project environment : docker-compose, continuous delivery
Go to file
xdrm-brackets 5c8c3babc3 merge config php-fpm-extra 2018-02-19 23:09:25 +01:00
docker merge config php-fpm-extra 2018-02-19 23:09:25 +01:00
metactl Merge branch 'master' of https://git.xdrm.io/ptut/virtenv 2018-02-19 22:07:11 +01:00
virtual ~upd 'vhost' submodule 2018-02-19 21:35:37 +01:00
.gitignore +created metactl.ci{env,web} spies + ignore pid files 2018-02-19 21:34:16 +01:00
.gitmodules +add submodule ptut/vhost 2018-02-18 16:49:23 +01:00
Makefile -rem makefile.ci 2018-02-19 21:34:35 +01:00
README.md +upd readme added real clickable link 2018-02-18 16:49:23 +01:00
docker-compose.yml +fix docker-compose for docker CI 2018-02-19 15:38:39 +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 http://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/).