8000 GitHub - opositatest/php-fpm: Php fpm symfony docker container
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

opositatest/php-fpm

Repository files navigation

Github Actions

Opositatest php-fpm

Install

Build image:

docker built . -t [REPOSITORY:TAG]

Run image:

docker run --rm -e APP_ENV=dev -v php_unix_socket:/run/php/ --name [NAME_CONTAINER] [REPOSITORY:TAG]

Test service php-fpm through Nginx:

docker compose -f docker-compose.test.yml up

When finished, remember to go down with:

docker compose -f docker-compose.test.yml down

Environment in .env:

  • APP_ENV=(dev|prod)
  • NEWRELIC=(yes|no)
  • NEW_RELIC_KEY=(your_key)
  • NEW_RELIC_APP_NAME=test-php-fpm
  • NEWRELIC_DAEMON_ADDRESS=url:port

ARG in DockerFiles:

  • XDEBUG=xdebug-X.X.X
  • APCU=apcu-X.X.X
  • NEWRELIC=X.X.X.X

About

Php fpm symfony docker container

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0