mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-01 04:14:25 +01:00
* Closes #1027 * Default to using the non-root user in `docker-compose`
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- UPLOAD_FOLDER=/var/uploads
|
||||
- DATABASE_URL=mysql+pymysql://root:ctfd@db/ctfd
|
||||
- DATABASE_URL=mysql+pymysql://ctfd:ctfd@db/ctfd
|
||||
- REDIS_URL=redis://cache:6379
|
||||
- WORKERS=1
|
||||
- LOG_FOLDER=/var/log/CTFd
|
||||
|
||||
Reference in New Issue
Block a user