card-drop/docker-compose.yml
Ethan Lane ed42ceaca4
Some checks failed
Deploy To Stage / build (push) Has been cancelled
Deploy To Stage / deploy (push) Has been cancelled
Migrate to forgejo runner
2024-04-28 17:34:42 +01:00

17 lines
No EOL
442 B
YAML

version: "3.9"
services:
database:
image: mysql/mysql-server
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
- 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:
- "$DB_PORT:3306"
volumes:
- $DB_DATA_LOCATION:/var/lib/mysql