2020-07-12 03:45:53 -05:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
|
|
|
|
reddichat_redis:
|
|
|
|
image: redis:6
|
|
|
|
ports:
|
|
|
|
- 31346:6379
|
|
|
|
|
2020-07-12 18:16:13 -05:00
|
|
|
reddichat_phpredisadmin:
|
|
|
|
image: erikdubbelboer/phpredisadmin:latest
|
|
|
|
environment:
|
|
|
|
- REDIS_1_HOST=reddichat_redis
|
|
|
|
- REDIS_1_NAME=reddichat
|
|
|
|
labels:
|
|
|
|
- 'traefik.frontend.rule=Host:phpredisadmin.reddichat.localhost'
|
|
|
|
|
2020-07-12 03:45:53 -05:00
|
|
|
reddichat_mysql:
|
|
|
|
image: mysql:8
|
|
|
|
ports:
|
|
|
|
- 31347:3306
|
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=reddichat
|
|
|
|
- MYSQL_ROOT_PASSWORD=UNSAFE_DEV_PASSWORD
|
|
|
|
command:
|
|
|
|
- '--default-authentication-plugin=mysql_native_password'
|
|
|
|
|
|
|
|
reddichat_adminer:
|
|
|
|
image: adminer
|
|
|
|
|
|
|
|
environment:
|
|
|
|
ADMINER_DEFAULT_SERVER: reddichat_mysql
|
|
|
|
|
|
|
|
labels:
|
|
|
|
- 'traefik.frontend.rule=Host:adminer.reddichat.localhost'
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: docker_system_default
|