Skip to content

URL Parser App showcasing the use of Doqnach/helper-url composer package

License

Notifications You must be signed in to change notification settings

Doqnach/url-parser-app

Repository files navigation

URL Parser App

Simple web-app showcasing the working of doqnach/helper-url.

Getting started

Make sure all composer packages are installed by running the following command inside the url-parser-app/ directory:

$ composer install

How to start using docker

This expects you to have Docker running already.

Test environment

To run the test environment, which starts the webserver on port 60080:

$ docker-compose -f docker-compose.yml -f docker-compose.tst.yml up

Production-like environment

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

Traefik

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

About

URL Parser App showcasing the use of Doqnach/helper-url composer package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages