好像你的
usage-stats-url
. 可能是防火墙或其他东西阻止了Shinyproxy到达这个目的地?我可以复制这种缓慢的行为,但当我评论这句话时,它就消失了。
除此之外,您的
application.yml
关于码头工人。我对它做了一些修改,并用这个配置在本地计算机上运行它。(
nginx.conf
码头文件只是稍微改动一下以满足我的需要
docker-compose
):
proxy:
title: The Operational Intelligence Solution
logo-url: http://qnum.co.za/wp-content/uploads/2018/03/OI-Solution-Icon.png
landing-page: /
heartbeat-rate: 100000
heartbeat-timeout: 600000
port: 8080
authentication: simple
container-log-path: ./container-logs
admin-groups: admin
#usage-stats-url: http://159.65.95.235:8086/write?db=shinyproxy_usagestats
# Example: 'simple' authentication configuration
users:
- name: info@qnum.co.za
password: prupre35A21.
groups: admin
docker:
internal-networking: true
specs:
- id: 01_hello
display-name: Hello Application
description: Application which demonstrates the basics of a Shiny app
container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
container-image: openanalytics/shinyproxy-demo
container-volumes: ["/tmp:/mnt/persistent1"]
container-network: shinyproxy_slow_default
access-groups: admin
- id: 06_tabsets
container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
container-image: openanalytics/shinyproxy-demo
container-volumes: ["/tmp:/mnt/persistent1"]
container-network: shinyproxy_slow_default
access-groups: admin
logging:
file:
shinyproxy.log
我什么都跑了
码头工人组成
见:
version: "3.1"
services:
web:
image: nginx:alpine
ports:
- 80:80
- 443:443
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
shinyproxy:
image: sp_test
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./application.yml:/opt/shinyproxy/application.yml