Skip to content

Instantly share code, notes, and snippets.

@karakanb
Last active June 6, 2021 11:37
Show Gist options
  • Save karakanb/d0340480766f547929ae3796d7478ce3 to your computer and use it in GitHub Desktop.
Save karakanb/d0340480766f547929ae3796d7478ce3 to your computer and use it in GitHub Desktop.
A simple docker-compose example
version: '3'
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
environment:
FLASK_ENV: development
REDIS_HOST: redis
REDIS_PORT: 6379
redis:
image: "redis:alpine"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment