Created
September 1, 2017 20:36
-
-
Save rbndelrio/67a7214471b3ec2da4e6bb2c8377eea9 to your computer and use it in GitHub Desktop.
Nginx + PHP-FPM + WordPress + Bedrock + Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
web: | |
build: . | |
env_file: .env | |
ports: | |
- 1234:80 | |
- 12345:443 | |
volumes: | |
- .:/var/www/html | |
environment: | |
- WEBROOT=/var/www/html/web |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM richarvey/nginx-php-fpm | |
MAINTAINER [email protected] | |
EXPOSE 80 443 | |
ADD . /var/www/html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment