18 lines
446 B
YAML
18 lines
446 B
YAML
services:
|
|||
|
|
go-green:
|
||
|
|
container_name: go-green_container
|
||
|
|
hostname: go-green
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_20000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/go-green.txt:/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "20000:8000"
|
||
|
|
- "20022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|