A web app to manage tasks with dependencies between them
Emmanuel BENOîT
5110ded7e5
This commit adds a Docker Compose file which will run the application using docker. The application is fronted by Traefik, and runs using PHP-fpm. nginx is used to accept queries from Traefik and relay them to the PHP-fpm containers (Traefik doesn't support FastCGI directly). Sessions are shared between the various PHP containers using memcached. Part of this work is based on [this repo](https://github.com/wandersonwhcr/docker-nginx-php-fpm) |
||
---|---|---|
arse@9b03f05f5a | ||
database | ||
docker | ||
includes | ||
site | ||
.gitignore | ||
.gitmodules | ||
database.sql | ||
README |
Requires PostgreSQL 9.0+ 1) Copy/rename database/config-sample.sql to database/config.sql, 2) Set the web app's user name and the database's name in database/config.sql, 3) Run the database.sql script from psql, 4) Copy/rename includes/config-sample.inc.php to includes/config.inc.php, 5) Set user name / password in includes/config.inc.php, 6) Copy/rename site/.htaccess.sample to site/.htaccess, 7) Update the rewrite rules in site/.htaccess as necessary. Ideally, only the site/ directory should be available through the web server.