Slim Framework powered API for PDF form filling.
Fetching container images behind company proxy with self-signed certificate may fail. In such case exiting network is recommended for ease of development.
- Git
- Docker Engine
- Composer
The docker compose consists of four services:
-
nginx Webserver
-
php-fpm PHP FastCGI implementation
-
postgres Database
-
adminer Database Management, web-based
The app directory includes the slim-skeleton by odan as a starting point. https://github.com/odan/slim4-skeleton
Temporary not so elegant setup:
clone git [email protected]:Research-IT-Swiss-TPH/pdf-api.git
cd pdf-api
composer install --working-dir=/app
docker compose -f compose.dev.yml up
# access Slim Application at http://localhost:4080/
NGINX: http://143.198.242.211.nip.io/ Adminer: http://143.198.242.211.nip.io:8080
System: PostgresSQL Server: pdf-api-postgres Username: postgres Password: ********* Database: postgres