30 lines
699 B
YAML
30 lines
699 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
container_name: BW1_DB_MYSQL
|
|
image: mysql/mysql-server:8.0
|
|
environment:
|
|
MYSQL_ROOT_HOST: db
|
|
MYSQL_USER_HOST: db
|
|
MYSQL_ROOT_PASSWORD: dXjw127124dJ
|
|
MYSQL_USER: blueuser
|
|
MYSQL_PASSWORD: dXjw127124dJ
|
|
MYSQL_DATABASE: bluedb
|
|
volumes:
|
|
- ./docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
|
|
phpmyadmin:
|
|
container_name: BW_PHPMYADMIN
|
|
image: phpmyadmin/phpmyadmin
|
|
ports:
|
|
- 80:80
|
|
environment:
|
|
MYSQL_USERNAME: 'blueuser'
|
|
MYSQL_ROOT_PASSWORD: 'dXjw127124dJ'
|
|
# ports:
|
|
# - "3308:3306"
|
|
redis:
|
|
image: "redis:alpine"
|
|
command: redis-server
|
|
ports:
|
|
- "6379:6379"
|