mirror of https://github.com/JohnHammond/CTFd.git
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 CTFdselenium-screenshot-testing
parent
b5632f9289
commit
420e4f4dc7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue