Projet toturé : Virtual project environment : docker-compose, continuous delivery
Go to file
Adrien Marquès 60b1da1cd9 fix one-liner for easy-install 2018-06-09 12:37:14 +02:00
docker -optimized php-fpm-extra 2018-02-19 23:26:18 +01:00
install-scripts add install scripts 2018-06-09 11:54:52 +02:00
metactl post-start script add API download permission fix 2018-06-09 12:25:25 +02:00
virtual Implemented automatic backup of mariadb (every 24 hours) 2018-05-14 01:47:20 +02: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 [Makefile] fix 2018-03-15 12:27:34 +01:00
README.md fix one-liner for easy-install 2018-06-09 12:37:14 +02:00
docker-compose.yml remove debug mariadb port exposure 2018-06-08 05:37:30 -04:00

README.md

PTUT Virtual Environment

Prerequisites


Fast Install

Launch the following command in your favorite terminal :

bash -c "`curl https://xdrm.io/script/ptut-install`"

TODO

  1. add permission management (for API download) inside Docker
  2. add apache/nginx automatic proxy builder

Manual Install

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/).