mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-10-01 06:17:47 -05:00
Set up Redis Commander
This commit is contained in:
@@ -311,6 +311,7 @@ that it will be overwritten with a save that doesn't match the name.
|
||||
| [MailDev](https://maildev.github.io/maildev/) | SMTP server used to test sending emails from the account server. Use this to view your PNID email verification code. | Open <http://127.0.0.1:8084> in your browser with the container running. |
|
||||
| [PostgreSQL](https://www.postgresql.org/) | Database used by the Friend List server to store friendships. | Use Adminer (see below) to view the databases and run SQL scripts. You can also download the [pgAdmin GUI](https://www.pgadmin.org/) and connect to `127.0.0.1:5432` to perform advanced administration tasks. |
|
||||
| [Adminer](https://www.adminer.org/) | Web GUI for database administration, used for Postgres. | Open <http://127.0.0.1:8085> in your browser with the container running. |
|
||||
| [Redis Commander](https://joeferner.github.io/redis-commander/) | Web GUI for Redis database administration. | Open <http://127.0.0.1:8086> in your browser with the container running. |
|
||||
|
||||
Check the `secrets.txt` file in the root of the repository to find the usernames and randomly-generated passwords needed
|
||||
to authenticate with the servers.
|
||||
|
||||
15
compose.yml
15
compose.yml
@@ -135,6 +135,21 @@ services:
|
||||
dns: 172.20.0.200
|
||||
command: redis-server --save 60 1 --appendonly yes
|
||||
|
||||
redis-commander:
|
||||
image: ghcr.io/joeferner/redis-commander:latest
|
||||
depends_on:
|
||||
- coredns-internal
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# Web interface
|
||||
- 127.0.0.1:8086:8086
|
||||
networks:
|
||||
internal:
|
||||
dns: 172.20.0.200
|
||||
env_file:
|
||||
- ./environment/redis-commander.env
|
||||
|
||||
# TODO: MailDev appears to be unmaintained and has security vulnerabilities.
|
||||
# Find an alternative. MailCatcher doesn't support persistance, and MailHog
|
||||
# also seems unmaintained.
|
||||
|
||||
3
environment/redis-commander.env
Normal file
3
environment/redis-commander.env
Normal file
@@ -0,0 +1,3 @@
|
||||
PORT=8086
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
Reference in New Issue
Block a user