Make ctfd user usable for mysql connection (#1028)

* Make unprivileged `ctfd` user usable for mysql connection in docker-compose by having the db image create the database instead of CTFd
selenium-screenshot-testing
Baptiste MOINE 2019-06-21 06:55:44 +02:00 committed by Kevin Chung
parent b5632f9289
commit 420e4f4dc7
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ services:
- MYSQL_ROOT_PASSWORD=ctfd
- MYSQL_USER=ctfd
- MYSQL_PASSWORD=ctfd
- MYSQL_DATABASE=ctfd
volumes:
- .data/mysql:/var/lib/mysql
networks: