18 lines
450 B
YAML
18 lines
450 B
YAML
services:
|
|||
|
|
more-less:
|
||
|
|
container_name: more-less_container
|
||
|
|
hostname: more-less
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_22000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/more-less.txt:/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "22000:8000"
|
||
|
|
- "22022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|