Skip to content

Instantly share code, notes, and snippets.

@sirgalleto
Created October 10, 2017 17:02
Show Gist options
  • Save sirgalleto/6baeb55f2754f16f37d48174024534c0 to your computer and use it in GitHub Desktop.
Save sirgalleto/6baeb55f2754f16f37d48174024534c0 to your computer and use it in GitHub Desktop.
Docker compose example
version: '3'
services:
web:
build: .
ports:
- 80:80
- 3306:3306
volumes:
- ./directory:/directory
redis:
image: "imagename"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment