services: s3: container_name: s3_container hostname: s3 restart: always build: context: . args: - PASSWORD=$PASSWORD_20000 volumes: - ../receiver/flags/s3.txt:/flag.txt:ro - ../utils/bashrc:/root/.bashrc:ro - ../utils/preexec.sh:/root/.preexec.sh:ro ports: - "20000:80" - "20022:22" extra_hosts: - "host.docker.internal:host-gateway"