从外部容器(外部访问)访问 fusionAuth-app UI?

Access fusionAuth-app UI from outside container (external access)?

我正在使用以下 docker-compose.yml 进行从以下 https://fusionauth.io/docs/v1/tech/installation-guide/docker

克隆的部署
version: '3'

services:
  db:
    image: postgres:9.6
    environment:
      PGDATA: /var/lib/postgresql/data/pgdata
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# Un-comment to access the db service directly
    ports:
      - 5432:5432
    networks:
      - db
    restart: unless-stopped
    volumes:
      - db_data:/var/lib/postgresql/data

  search:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.3.1
    environment:
      - cluster.name=fusionauth
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=${ES_JAVA_OPTS}"
# Un-comment to access the search service directly
    ports:
      - 9200:9200
      - 9300:9300
    networks:
      - search
    restart: unless-stopped
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - es_data:/usr/share/elasticsearch/data

  fusionauth:
    image: fusionauth/fusionauth-app:latest
    depends_on:
      - db
      - search
    environment:
      DATABASE_URL: jdbc:postgresql://db:5432/fusionauth
      DATABASE_ROOT_USER: ${POSTGRES_USER}
      DATABASE_ROOT_PASSWORD: ${POSTGRES_PASSWORD}
      DATABASE_USER: ${DATABASE_USER}
      DATABASE_PASSWORD: ${DATABASE_PASSWORD}
      FUSIONAUTH_MEMORY: ${FUSIONAUTH_MEMORY}
      FUSIONAUTH_SEARCH_SERVERS: http://search:9200
      FUSIONAUTH_URL: http://fusionauth:9011
    networks:
     - db
     - search
    restart: unless-stopped
    ports:
      - 9011:9011
    volumes:
      - fa_config:/usr/local/fusionauth/config

networks:    
  db:
    driver: bridge
  search:
    driver: bridge

volumes:
  db_data:
  es_data:
  fa_config:

我无法从 http://localhost:9011 or http://fusionauth:9011

访问 fusionAuth UI 屏幕

如何从 docker 容器外部访问 UI 欢迎屏幕?有没有 enableExternal: true 环境变量可用于 docker-compose.yml?

除了使用 docker ps -a

之外,是否有其他方法可以测试或 ping fusionAuth 应用程序服务器以确保它已启动并且 运行

这是由于 docker 图片出错。在提出此问题后数小时发布了更新的 docker 图片,并解决了问题。

此处有更多详细信息:https://github.com/FusionAuth/fusionauth-containers/issues/47