42 lines
853 B
YAML
42 lines
853 B
YAML
version: '2'
|
|
services:
|
|
|
|
reddichat_redis:
|
|
image: redis:6
|
|
ports:
|
|
- 31346:6379
|
|
|
|
reddichat_phpredisadmin:
|
|
image: erikdubbelboer/phpredisadmin:latest
|
|
environment:
|
|
- REDIS_1_HOST=reddichat_redis
|
|
- REDIS_1_NAME=reddichat
|
|
labels:
|
|
- 'traefik.frontend.rule=Host:phpredisadmin.reddichat.localhost'
|
|
|
|
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
|