merge docker compose
This commit is contained in:
@@ -15,12 +15,32 @@ services:
|
|||||||
- ../utils/bashrc:/root/.bashrc:ro
|
- ../utils/bashrc:/root/.bashrc:ro
|
||||||
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||||||
ports:
|
ports:
|
||||||
- "10000:80"
|
- "10000:8000"
|
||||||
- "10022:22"
|
- "10022:22"
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
# --- blogpost ---
|
# --- 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 ---
|
||||||
cdn:
|
cdn:
|
||||||
container_name: cdn_container
|
container_name: cdn_container
|
||||||
@@ -29,14 +49,74 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: cdn
|
context: cdn
|
||||||
args:
|
args:
|
||||||
- PASSWORD=$PASSWORD_11000
|
- PASSWORD=$PASSWORD_12000
|
||||||
volumes:
|
volumes:
|
||||||
- ../receiver/flags/cdn.txt:/flag.txt:ro
|
- ../receiver/flags/cdn.txt:/flag.txt:ro
|
||||||
- ../utils/bashrc:/root/.bashrc:ro
|
- ../utils/bashrc:/root/.bashrc:ro
|
||||||
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||||||
ports:
|
ports:
|
||||||
- "11000:80"
|
- "12000:8000"
|
||||||
- "11022:22"
|
- "12022:22"
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "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 ---
|
||||||
Reference in New Issue
Block a user