Created
May 8, 2019 21:21
-
-
Save dmigo/fce9cc5834300492da2843c00bea2c79 to your computer and use it in GitHub Desktop.
Docker compose that has redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.6' | |
services: | |
# app: | |
# build: | |
# context: ./app | |
# depends_on: | |
# - redis | |
# environment: | |
# - REDIS_HOST=redis | |
# ports: | |
# - "5000:5000" | |
redis: | |
image: redis:3.2-alpine | |
volumes: | |
- redis_data:/data | |
ports: | |
- "6379:6379" | |
volumes: | |
redis_data: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment