Docker Compose Configuration for adrs-ui Service
The given YAML file represents a Docker Compose file. It defines a service named "adrs-ui" that runs a container using the specified image. The container exposes port 80 and maps it to port 15111 on the host machine. \n\nThe service depends on another service named "api". It also sets some environment variables for the container, such as the preferred network, APIGATEWAY, GATEWAY, Cas_Enable, and DOCURL. \n\nThe service is deployed with a restart policy of "on-failure" and a single replica. It is also deployed on a specific node with the hostname "p1". \n\nThere is an external network named "portainer_agent_network" that is used by the service. \n\nThe last line "image: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" seems to be a placeholder and does not belong to the valid syntax of a Docker Compose file.
原文地址: https://www.cveoy.top/t/topic/p2jz 著作权归作者所有。请勿转载和采集!