English 中文(简体)
吉唐湖管道中的N8n没有暴露港口
原标题:n8n in GitHub pipeline fails to expose port

我们有一个cker子,我们需要测试我们的法典。 当我们在当地管理时(macOS,不同的东道国),它会做罚款,然而,一旦我们管理Gite Hub行动,它就失败了。

requests.exceptions.ConnectionError: HTTPConnectionPool(host= localhost , port=5678): Max retries exceeded with url: /api/v1/credentials (Caused by NewConnectionError( <urllib3.connection.HTTPConnection object at 0x7f3d28e3d810>: Failed to establish a new connection: [Errno 111] Connection refused ))

受影响的服务是一种无8吨的集装箱,它应当暴露出另一个也在当地工作的吉大港湾港口设施。

  n8n:
    image: docker.n8n.io/n8nio/n8n
    ports:
      - "5678:5678"
    environment:
      - N8N_HOST=n8n:5678
      - N8N_PORT=5678
      - N8N_PROTOCOL=http
      - NODE_ENV=production
      - DB_TYPE=postgresdb
      - DB_TABLE_PREFIX=n8n_
      - DB_POSTGRESDB_DATABASE=n8n
    volumes:
      - ./DOCKER/n8n/data:/home/node/.n8n
      - ./DOCKER/n8n/files:/files

我们试图通过我们的快车快车通行证来查阅这一消息,使用假日要求图书馆。 这两个系统之间有何区别? cker子的堆肥是一样的,用我们的测试文字重新编造。

Update

我将可再生问题减少到以下几个方面:

curl --fail http://localhost:8080 || exit 1
curl --fail http://localhost:5678/api/v1/docs/ || exit 1

在我的制片人中,我有两个服务,一个是808个,正在工作,另一个是没有工作。 上述代码在第二行与错误<代码>curl:(7)在0米后无法与当地东道港口连接5678:链接拒绝<>。 如果Gite Hub的行动已经使用该港口,我也试图开关港口。

问题回答

根据该官方数字(以下简称::https://github.com/n8n-io/n8n/issues/8272) 批量也应使用,所注明的东道国名应为无本地东道方,如下文所述。 在这种情况下,不要混淆繁多的结构等。 其形式如下:

volumes: n8n_data: driver: local driver_opts: type: none o: bind device: ./DOCKER/n8n/data Edit your code to use the host n8n instead of localhost.

这项服务必须交给一个名叫N8n而不是当地东道方的东道国。

From https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idservices:

如果您把工作召集在一个集装箱内,或您的步骤使用集装箱行动,那么你就不需要绘制港口地图,以获取服务或采取行动。 多克自动暴露了同一个多克用户界定的桥梁网络上的集装箱之间的所有港口。 您可直接以其东道名称查询服务集装箱。 东道名称自动贴上你为工作流程服务而召集的标签。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签