18 lines
444 B
YAML
18 lines
444 B
YAML
services:
|
|||
|
|
pasta:
|
||
|
|
container_name: pasta_container
|
||
|
|
hostname: pasta
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_13000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/pasta.txt:/ctf/pasta/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "13000:8000"
|
||
|
|
- "13022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|