Sign inSign up

envoyr/http

By envoyr

•Updated about 4 years ago

Docker PHP-FPM & Nginx server with Deployer

Image
0

1.3K

envoyr/http repository overview

⁠Docker HTTP

Docker Cloud Automated build Docker Cloud Build status

⁠Documentation

  • Default port is 80
  • Current php version is 8.0

⁠Use with docker-compose

⁠Default
version: "3"
services:
  app:
    image: envoyr/http:latest
    volumes:
      - ./www:/app/www
⁠Proxy
version: "3"
services:
  app:
    image: envoyr/http:latest
    environment:
      - MODE=proxy
      - PROXY_HOST=example.com
      - PROXY_PASS=https://example.com:80
⁠Deployer

🧨 This feature is currently untested!

version: "3"
services:
  app:
    image: envoyr/http:latest
      - MODE=deployer
    volumes:
      - ./deploy.php:/app/deploy.php
      - ./www/shared:/app/www/shared
⁠Deploy after creation

Deploy with zero downtime after making changes on git:

docker-compose exec app dep deploy
⁠Install additional packages

🧨 This feature is currently in beta!

services:
  app:
    image: envoyr/http:latest
    environment:
      - APT_INSTALL=php-redis
    # ...
⁠In conjunction with the docker-letsencrypt-nginx-proxy:
version: "3"
services:
  app:
    image: envoyr/http:latest
    environment:
      - VIRTUAL_HOST=app.example.com
      - LETSENCRYPT_HOST=app.example.com

⁠Development build

Run the following command to run the bleeding-edge image of envoyr/http on a Docker container:

docker run -p 80:80 envoyr/http:edge

⁠License

This project is licensed under the terms of the MIT License.

Tag summary

Content type

Image

Digest

Size

146 MB

Last updated

about 4 years ago

docker pull envoyr/http