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:
Kevin Chung
2019-05-04 17:17:11 -04:00
committed by GitHub
parent dc4db6ff1f
commit b37684d8ba

View File

@@ -3,6 +3,7 @@ version: '2'
services: services:
ctfd: ctfd:
build: . build: .
user: root
restart: always restart: always
ports: ports:
- "8000:8000" - "8000:8000"