18 lines
464 B
YAML
18 lines
464 B
YAML
services:
|
|||
|
|
gift-card:
|
||
|
|
container_name: gift-card_container
|
||
|
|
hostname: gift-card
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_21000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/gift-card.txt:/ctf/gift-card/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "21000:5000"
|
||
|
|
- "21022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|