Skip to content

Instantly share code, notes, and snippets.

@vinnietech
Created January 18, 2020 20:16
Show Gist options
  • Save vinnietech/8dc2dc5ea25c9f2e882205fcbb5135c8 to your computer and use it in GitHub Desktop.
Save vinnietech/8dc2dc5ea25c9f2e882205fcbb5135c8 to your computer and use it in GitHub Desktop.
version: '3'
services:
nginx:
image: nginx:stable-alpine
ports:
- 8080:80
volumes:
- ./:/var/www
- ./.nginx/default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php
php:
image: php:7.3-fpm-alpine
volumes:
- ./:/var/www
depends_on:
- maildev
maildev:
image: djfarrelly/maildev:latest
ports:
- 8081:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment