services: bastion: container_name: bastion environment: - GATEWAY_PORTS=true image: binlab/bastion:1.2.0 ports: - '22222:22' - 4000:4000 volumes: - /root/tmp/id_rsa.pub:/var/lib/bastion/authorized_keys:ro