Docker compose file for Redis
Published on 2019-11-09 • Modified on 2019-11-09
This is the docker-compose file I am using for Redis. It's very concise, you can also specify the image version number: eg: redis:4.0.14-alpine
.
version: '3.7'
# docker-compose -f docker-compose.yaml up -d
services:
# Redis (official image)
# https://hub.docker.com/_/redis
redis:
image: redis
container_name: tokeeen-redis
ports:
- '6389:6379'
More on Stackoverflow Read the doc Random snippet
Call to action
Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky 🦋
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges 🏅.
Thank you for reading! And see you soon on Strangebuzz! 😉
