merge docker compose

This commit is contained in:
rafliher
2025-10-25 12:51:17 +07:00
parent 0d8f10bb11
commit 6b69bc1fd3
+85 -5
View File
@@ -15,12 +15,32 @@ services:
- ../utils/bashrc:/root/.bashrc:ro
- ../utils/preexec.sh:/root/.preexec.sh:ro
ports:
- "10000:80"
- "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
@@ -29,14 +49,74 @@ services:
build:
context: cdn
args:
- PASSWORD=$PASSWORD_11000
- PASSWORD=$PASSWORD_12000
volumes:
- ../receiver/flags/cdn.txt:/flag.txt:ro
- ../utils/bashrc:/root/.bashrc:ro
- ../utils/preexec.sh:/root/.preexec.sh:ro
ports:
- "11000:80"
- "11022:22"
- "12000:8000"
- "12022:22"
extra_hosts:
- "host.docker.internal:host-gateway"
# --- cdn ---
# --- 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 ---