You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
448 B
YAML
22 lines
448 B
YAML
# Use root/example as user/password credentials
|
|
version: '3.1'
|
|
|
|
services:
|
|
|
|
db:
|
|
image: mysql
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
restart: always
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
volumes:
|
|
- ./persistent_data:/var/lib/mysql
|
|
# - ./etc/conf.d:/etc/mysql/conf.d
|
|
|
|
#adminer:
|
|
# image: adminer
|
|
# restart: always
|
|
# ports:
|
|
# - 8080:8080 |