2020-04-03 21:38:29 +02:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
###########
|
|
|
|
## MySQL ##
|
|
|
|
###########
|
|
|
|
mysql:
|
|
|
|
image: mysql/mysql-server:5.7.27
|
|
|
|
restart: "no"
|
2020-04-07 01:15:54 +02:00
|
|
|
command: --character_set_server=utf8mb4 --max_allowed_packet=1073741824
|
2020-04-03 21:38:29 +02:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
environment:
|
|
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=true
|
2020-04-07 01:13:12 +02:00
|
|
|
- MYSQL_DATABASE=social
|
2020-04-03 21:38:29 +02:00
|
|
|
- MYSQL_USER=lbry
|
|
|
|
- MYSQL_PASSWORD=lbry
|
|
|
|
- MYSQL_LOG_CONSOLE=true
|
|
|
|
#############
|
|
|
|
## Adminer ##
|
|
|
|
#############
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|