Skip to content

Instantly share code, notes, and snippets.

@rbndelrio
Created September 1, 2017 20:36
Show Gist options
  • Save rbndelrio/67a7214471b3ec2da4e6bb2c8377eea9 to your computer and use it in GitHub Desktop.
Save rbndelrio/67a7214471b3ec2da4e6bb2c8377eea9 to your computer and use it in GitHub Desktop.
Nginx + PHP-FPM + WordPress + Bedrock + Docker
version: '3'
services:
web:
build: .
env_file: .env
ports:
- 1234:80
- 12345:443
volumes:
- .:/var/www/html
environment:
- WEBROOT=/var/www/html/web
FROM richarvey/nginx-php-fpm
MAINTAINER name@example.com
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