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.30.7-alpine@sha256:bef154735288bc38d99fac41ae63730684bcc661503673a04a0f9bc526ba8598 restart: on-failure volumes: - ${APP_DATA_DIR}/data/www:/usr/share/nginx/html:ro