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 install
This 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 up
To run the production-like environment, which starts the webserver on port 80
:
$ docker-compose -f docker-compose.yml -f docker-compose.prd.yml up
If 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_webgateway
And start with:
$ docker-compose up -d