version: '3.7' services: app_proxy: environment: APP_HOST: rustdesk-server_web_1 APP_PORT: 80 hbbs: container_name: hbbs image: rustdesk/rustdesk-server:1.1.16@sha256:8ecdab65deb7c84652a626380e31d11a8f1fbafd97916d57f95c20628f943c00 ports: - 21115:21115 - 21116:21116 - 21116:21116/udp - 21118:21118 command: hbbs volumes: - ${APP_DATA_DIR}/data/hbbs:/root network_mode: "host" depends_on: - hbbr restart: on-failure hbbr: container_name: hbbr image: rustdesk/rustdesk-server:1.1.16@sha256:8ecdab65deb7c84652a626380e31d11a8f1fbafd97916d57f95c20628f943c00 ports: - 21117:21117 - 21119:21119 command: hbbr volumes: - ${APP_DATA_DIR}/data/hbbr:/root network_mode: "host" restart: on-failure web: image: nginx:1.27@sha256:124b44bfc9ccd1f3cedf4b592d4d1e8bddb78b51ec2ed5056c52d3692baebc19 restart: on-failure volumes: - ${APP_DATA_DIR}/data/www:/usr/share/nginx/html:ro