18 lines
479 B
YAML
18 lines
479 B
YAML
services:
|
|||
|
|
gift-voucher:
|
||
|
|
container_name: gift-voucher_container
|
||
|
|
hostname: gift-voucher
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_16000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/gift-voucher.txt:/ctf/gift-voucher/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "16000:5000"
|
||
|
|
- "16022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|