card-drop/docker-compose.yml

17 lines
442 B
YAML
Raw Normal View History

version: "3.9"
services:
database:
image: mysql/mysql-server
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
2024-04-28 17:34:42 +01:00
- MYSQL_DATABASE=$DB_NAME
- MYSQL_USER=$DB_AUTH_USER
- MYSQL_PASSWORD=$DB_AUTH_PASS
- MYSQL_ROOT_PASSWORD=$DB_AUTH_PASS
- MYSQL_ROOT_HOST=$DB_ROOT_HOST
ports:
2024-04-28 17:34:42 +01:00
- "$DB_PORT:3306"
volumes:
2024-04-28 17:34:42 +01:00
- $DB_DATA_LOCATION:/var/lib/mysql