Skip to content

Commit

Permalink
mention the correct volumes
Browse files Browse the repository at this point in the history
also mention the chmod command to make the folders needed writable
  • Loading branch information
proditis committed Aug 17, 2023
1 parent 59efe72 commit 9aeb369
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/DOCKER-COMPOSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ The following volumes are configured and used
* `echoctfred_data-mysql` For persistent mysql data
* `echoctfred_data-openvpn` For persistent openvpn data
* `echoctfred_data-challenges` under backend & frontend `/var/www/echoCTF.RED/*/web/uploads`
* `./themes/images` under `/var/www/echoCTF.RED/*/web/images` for logos and images
* `frontend/web/images` under `/var/www/echoCTF.RED/frontend/web/images` for frontend logos and images
* `backend/web/images` under `/var/www/echoCTF.RED/backend/web/images` for backend logos and images

You can modify the volumes and port mappings by editing the corresponding values in the `docker-compose.yml` file.

The following diagram illustrates the docker networks and containers that are configured by `docker-compose`.
![echoCTF.RED docker-compose topology](assets/docker-compose-topology.png?)
Expand All @@ -36,6 +39,7 @@ docker pull echothrust/echoctf.red-db:latest
docker pull echothrust/echoctf.red-backend:latest
docker pull echothrust/echoctf.red-frontend:latest
docker pull echothrust/echoctf.red-vpn:latest
chmod a+rw frontend/web/images/{avatars,avatars/badges,targets}
docker-compose up
```

Expand Down

0 comments on commit 9aeb369

Please sign in to comment.