Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azagramac/redis-docker
Based on the official image of redis
https://github.com/azagramac/redis-docker
dcoker-compose docker docker-image dockerfile redis redis-cache redis-server
Last synced: 8 days ago
JSON representation
Based on the official image of redis
- Host: GitHub
- URL: https://github.com/azagramac/redis-docker
- Owner: azagramac
- Created: 2023-12-07T16:23:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T09:11:06.000Z (18 days ago)
- Last Synced: 2024-12-05T10:19:29.120Z (18 days ago)
- Topics: dcoker-compose, docker, docker-image, dockerfile, redis, redis-cache, redis-server
- Language: Shell
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Install Docker
sudo apt update && sudo apt install git vim wget curl net-tools ca-certificates gnupg -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update && sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo usermod -aG docker $USER
sudo reboot## Build
git clone https://github.com/AzagraMac/redis-docker.git
cd redis-docker
docker build -t yourname/redis:tag## Launch
docker compose up -d
## Loggin
docker logs -f redis
output:
```
vm.overcommit_memory = 1
10:C 08 Dec 2023 21:17:17.697 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
10:C 08 Dec 2023 21:17:17.698 * Redis version=7.2.3, bits=64, commit=00000000, modified=0, pid=10, just started
10:C 08 Dec 2023 21:17:17.698 * Configuration loaded
10:M 08 Dec 2023 21:17:17.698 * monotonic clock: POSIX clock_gettime
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 7.2.3 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 10
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'10:M 08 Dec 2023 21:17:17.700 * Server initialized
10:M 08 Dec 2023 21:17:17.700 * Ready to accept connections tcp
```