Files
attack-defense-platform/services/docker-compose.yml
T

42 lines
959 B
YAML
Raw Normal View History

2025-10-10 22:18:06 +07:00
version: '3.1'
services:
2025-10-11 11:59:21 +07:00
# --- blogpost ---
blogpost:
container_name: blogpost_container
hostname: blogpost
2025-10-10 22:18:06 +07:00
restart: always
build:
2025-10-11 11:59:21 +07:00
context: blogpost
2025-10-10 22:18:06 +07:00
args:
- PASSWORD=$PASSWORD_10000
volumes:
2025-10-11 11:59:21 +07:00
- ../receiver/flags/blogpost.txt:/flag.txt:ro
2025-10-10 22:18:06 +07:00
- ../utils/bashrc:/root/.bashrc:ro
- ../utils/preexec.sh:/root/.preexec.sh:ro
ports:
- "10000:80"
- "10022:22"
extra_hosts:
- "host.docker.internal:host-gateway"
2025-10-11 11:59:21 +07:00
# --- blogpost ---
2025-10-10 22:18:06 +07:00
2025-10-11 11:59:21 +07:00
# --- cdn ---
cdn:
container_name: cdn_container
hostname: cdn
2025-10-10 22:18:06 +07:00
restart: always
build:
2025-10-11 11:59:21 +07:00
context: cdn
2025-10-10 22:18:06 +07:00
args:
- PASSWORD=$PASSWORD_11000
volumes:
2025-10-11 11:59:21 +07:00
- ../receiver/flags/cdn.txt:/flag.txt:ro
2025-10-10 22:18:06 +07:00
- ../utils/bashrc:/root/.bashrc:ro
- ../utils/preexec.sh:/root/.preexec.sh:ro
ports:
2025-10-11 11:59:21 +07:00
- "11000:80"
2025-10-10 22:18:06 +07:00
- "11022:22"
extra_hosts:
- "host.docker.internal:host-gateway"
2025-10-11 11:59:21 +07:00
# --- cdn ---