Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
245_XSS/docker-compose.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (35 sloc)
774 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
flask: | |
build: | |
context: webapp | |
ports: | |
- "5000:5000" | |
expose: | |
- 5000 | |
volumes: | |
- "./webapp/xss_trainer:/opt/xss_trainer" | |
environment: | |
- FLASK_ENV=development | |
#- FLASK_APP=/opt/xss_trainer/app.py | |
- FLASK_APP=xss_trainer | |
selenoid: | |
image: cueh/selenoid | |
ports: | |
- "4444:4444" | |
cap_add: | |
- SYS_ADMIN | |
init: true #Need this otherwise we get millions of crhomes | |
# #Uncomment this for m3 Macs | |
# selenoid: | |
# build: | |
# context: | |
# SelenoidAlt | |
# ports: | |
# - "4444:4444" | |
# cap_add: | |
# - SYS_ADMIN | |
# init: true #Need this otherwise we get millions of crhomes | |
#We use Redis for the local session | |
redis: | |
image: redis |