Skip to content

Instantly share code, notes, and snippets.

@lafraga93
Last active September 11, 2019 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lafraga93/953624848c8c2df0871f2c11a281017a to your computer and use it in GitHub Desktop.
Save lafraga93/953624848c8c2df0871f2c11a281017a to your computer and use it in GitHub Desktop.
Docker Compose V1 - Docker Tutorial
version: "3.7"
services:
php:
build:
context: .
image: phpdocker
container_name: php
ports:
- "9000:9000"
volumes:
- ".:/var/www/html/"
command: php -S 0.0.0.0:9000 -t public/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment