mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Run as root when using docker-compose to be able to write to the volume (#981)
* Docker Compose needs to be run as root to be able to write to the bind mounted volumes.
This commit is contained in:
@@ -3,6 +3,7 @@ version: '2'
|
|||||||
services:
|
services:
|
||||||
ctfd:
|
ctfd:
|
||||||
build: .
|
build: .
|
||||||
|
user: root
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Reference in New Issue
Block a user