1.docker-compose:
services:
phpMyAdmin:
image: *****/phpmyadmin
container_name: phpMyAdmin
hostname: phpMyAdmin
restart: always
environment:
- PMA_ARBITRARY=1
ports:
- "8081:80"
phpRedisAdmin:
image: ****/phpredisadmin
container_name: phpRedisAdmin
hostname: phpRedisAdmin
restart: always
environment:
- ADMIN_USER=【管理平台用户名】
- ADMIN_PASS=【管理平台密码】
- REDIS_1_HOST=【MyIP】
- REDIS_1_PORT=6379
- REDIS_1_AUTH=【redis存储登录密码】
ports:
- "8082:80"