AlmaLinux / AlmaLinux/build-system

deploy: Create and start services task always fails

未关闭
#287 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
32
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

After https://github.com/AlmaLinux/albs-web-server/pull/792, there is a problem.

albs_test_db_1 container fails to start due to already used port 5432/tcp.

```
Error response from daemon: driver failed programming external connectivity on endpoint albs_test_db_1 (28412eeecc3feff17618ff42efb5a62eac6e673542f5e0e986f7b68ceefa09fd): Bind for 0.0.0.0:5432 failed: port is already allocated

MSG:

non-zero return code

NO MORE HOSTS LEFT ******************************************************************************************************************

PLAY RECAP **************************************************************************************************************************
albs_on_one_vm : ok=27 changed=10 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0
```

`test_db` service added by https://github.com/AlmaLinux/albs-web-server/pull/792 listens 5432/tcp despite the port is already used by `db` service.

* https://github.com/AlmaLinux/albs-web-server/blob/master/docker-compose.yml#L5-L10
* https://github.com/AlmaLinux/albs-web-server/blob/master/docker-compose.yml#L23-L38

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。