120 lines
2.8 KiB
YAML
120 lines
2.8 KiB
YAML
services:
|
|
# --- blogpost ---
|
|
blogpost:
|
|
container_name: blogpost_container
|
|
hostname: blogpost
|
|
restart: always
|
|
build:
|
|
context: blogpost
|
|
args:
|
|
- PASSWORD=$PASSWORD_10000
|
|
volumes:
|
|
- ../receiver/flags/blogpost.txt:/flag.txt:ro
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "10000:8000"
|
|
- "10022:22"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
# --- blogpost ---
|
|
|
|
# --- carbeat ---
|
|
carbeat:
|
|
container_name: carbeat_container
|
|
hostname: carbeat
|
|
restart: always
|
|
build:
|
|
context: carbeat
|
|
args:
|
|
- PASSWORD=$PASSWORD_11000
|
|
volumes:
|
|
- ../receiver/flags/carbeat.txt:/flag.txt:ro
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "11000:9000"
|
|
- "11022:22"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
# --- carbeat ---
|
|
|
|
# --- cdn ---
|
|
cdn:
|
|
container_name: cdn_container
|
|
hostname: cdn
|
|
restart: always
|
|
build:
|
|
context: cdn
|
|
args:
|
|
- PASSWORD=$PASSWORD_12000
|
|
volumes:
|
|
- ../receiver/flags/cdn.txt:/flag.txt:ro
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "12000:8000"
|
|
- "12022:22"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
# --- cdn ---
|
|
|
|
# --- phew ---
|
|
phew:
|
|
container_name: phew_container
|
|
hostname: phew
|
|
restart: always
|
|
build:
|
|
context: phew
|
|
args:
|
|
- PASSWORD=$PASSWORD_13000
|
|
volumes:
|
|
- ../receiver/flags/phew.txt:/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"
|
|
# --- phew ---
|
|
|
|
# --- sheesh ---
|
|
sheesh:
|
|
container_name: sheesh_container
|
|
hostname: sheesh
|
|
restart: always
|
|
build:
|
|
context: sheesh
|
|
args:
|
|
- PASSWORD=$PASSWORD_14000
|
|
volumes:
|
|
- ../receiver/flags/sheesh.txt:/flag.txt:ro
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "14000:8000"
|
|
- "14022:22"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
# --- sheesh ---
|
|
|
|
# --- warmup ---
|
|
warmup:
|
|
container_name: warmup_container
|
|
hostname: warmup
|
|
restart: always
|
|
build:
|
|
context: warmup
|
|
args:
|
|
- PASSWORD=$PASSWORD_15000
|
|
volumes:
|
|
- ../receiver/flags/warmup.txt:/flag.txt:ro
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
|
ports:
|
|
- "15000:8080"
|
|
- "15022:22"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
# --- warmup --- |