Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of docker-compose.yml
version: '3'
services:
web:
build: .
ports:
- "5000:5000"
redis:
image: "redis:alpine"
# From : https://docs.docker.com/compose/gettingstarted/#step-3-define-services-in-a-compose-file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment