Skip to content

Commit

Permalink
Make redis restart always
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Nov 1, 2023
1 parent 2f3fbc8 commit 5afd798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/scripts/setup-lab.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
echo "Setting up Docker lab environment..."
docker pull python:3.11-slim
docker run -d --name redis -p 6379:6379 -v redis:/data redis:6-alpine
docker run -d --name redis --restart always -p 6379:6379 -v redis:/data redis:6-alpine
echo Setting up registry.local...
sudo bash -c "echo '127.0.0.1 cluster-registry' >> /etc/hosts"
echo "Setup complete"

0 comments on commit 5afd798

Please sign in to comment.