21 lines
550 B
YAML
21 lines
550 B
YAML
services:
|
|
warmup:
|
|
container_name: warmup_container
|
|
hostname: warmup
|
|
restart: always
|
|
build:
|
|
context: .
|
|
args:
|
|
- PASSWORD=${PASSWORD_10000:-warmup123}
|
|
volumes:
|
|
- ../../receiver/flags/warmup.txt:/flag.txt:ro
|
|
- ../../utils/bashrc:/root/.bashrc:ro
|
|
- ../../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "14000:8080"
|
|
- "14022:22"
|
|
environment:
|
|
- PASSWORD=${PASSWORD_10000:-warmup123}
|
|
- FLAG_FILE=/flag.txt
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway" |