Skip to content

Commit 76cbcad

Browse files
committed
First Commit
0 parents  commit 76cbcad

File tree

7 files changed

+92
-0
lines changed

7 files changed

+92
-0
lines changed

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
APP_HOST = '0.0.0.0'
2+
APP_PORT = '6379'
3+
APP_PASS = 'password'
4+
5+
COMMANDER_PORT = '8081'
6+
COMMANDER_USER = 'admin'
7+
COMMANDER_PASS = 'admin'

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* linguist-detectable=false
2+
*.yml linguist-detectable=true

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Natthasath Saksupanara
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 🎉 Docker Redis Commander
2+
3+
Redis Commander is a user-friendly GUI tool for Redis management. It provides a web-based interface for viewing, modifying, and deleting data, with real-time updates, multi-server support, and authentication.
4+
5+
![version](https://img.shields.io/badge/version-1.0-blue)
6+
![rating](https://img.shields.io/badge/rating-★★★★★-yellow)
7+
![uptime](https://img.shields.io/badge/uptime-100%25-brightgreen)
8+
9+
### 🔑 Configuration
10+
11+
- Host : localhost
12+
- Port : 6379
13+
- Password : password
14+
15+
### 🏆 Run
16+
17+
- [http://localhost:8081/](http://localhost:8081/)
18+
19+
```shell
20+
docker-compose up -d
21+
```

config/.gitkeep

Whitespace-only changes.

docker-compose.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
version: '3.9'
2+
services:
3+
redis:
4+
image: redis:latest
5+
container_name: redis
6+
restart: always
7+
ports:
8+
- ${APP_PORT}:6379
9+
networks:
10+
- default
11+
volumes:
12+
- /root/redis/data:/db
13+
command:
14+
- --requirepass ${APP_PASS}
15+
16+
commander:
17+
image: rediscommander/redis-commander
18+
container_name: commander
19+
restart: always
20+
depends_on:
21+
- redis
22+
ports:
23+
- ${COMMANDER_PORT}:8081
24+
networks:
25+
- default
26+
volumes:
27+
- /data:/app/data
28+
environment:
29+
- REDIS_HOSTS=local:redis:${APP_PORT}
30+
- REDIS_COMMANDER_USERNAME=${COMMANDER_USER}
31+
- REDIS_COMMANDER_PASSWORD=${COMMANDER_PASS}
32+
33+
networks:
34+
default:
35+
driver: bridge
36+
37+
volumes:
38+
db:
39+
driver: local
40+
data:
41+
driver: local

log/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)