Skip to content

Instantly share code, notes, and snippets.

@mstykt
Created April 7, 2022 16:40
Show Gist options
  • Save mstykt/a0284b85c684c72065326380c60eab96 to your computer and use it in GitHub Desktop.
Save mstykt/a0284b85c684c72065326380c60eab96 to your computer and use it in GitHub Desktop.
order-redis:
image: redis:latest
container_name: order-redis
command: redis-server --requirepass redis-pass --appendonly yes
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli","ping"]
interval: 2s
timeout: 3s
retries: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment