Simple web-app showcasing the working of doqnach/helper-url.
Make sure all composer packages are installed by running the following command inside the url-parser-app/ directory:
$ composer installThis expects you to have Docker running already.
To run the test environment, which starts the webserver on port 60080:
$ docker-compose -f docker-compose.yml -f docker-compose.tst.yml upTo run the production-like environment, which starts the webserver on port 80:
$ docker-compose -f docker-compose.yml -f docker-compose.prd.yml upIf you have Traefik running in your docker environment, use the following docker-compose.override.yml:
version: '3'
services:
php:
labels:
- "traefik.enable=false"
nginx:
labels:
- "doqnach-urlparserapp_nginx"
- "traefik.frontend.rule=Host:urlparserapp.devel"
networks:
default:
external:
name: traefik_webgatewayAnd start with:
$ docker-compose up -d