Add a way to display Docker service names #372

Closed
opened 2022-12-27 19:30:50 +00:00 by 3wordchant · 0 comments
Owner

The service name is required for docker-cp-deploy, but currently there seems to be no way of getting it using abra, and instead we have to run docker service ls on the server.

abra app ps is close, but:

  1. It doesn't help translate the domain name to the default service name
  2. It doesn't handle cases where STACK_NAME is set manually

It would be nice if we could just run e.g. abra app services <domain> to get the full service names, e.g.

➜ abra app services git.coopcloud.tech
+------------------------+-----------------------------+
|      SERVICE NAME      |            IMAGE            |
+------------------------+-----------------------------+
| git_coopcloud_tech_db  | mariadb:10.6                |
| git_coopcloud_tech_app | gitea/gitea:1.17.3-rootless |
+------------------------+-----------------------------+
The service name is required for `docker-cp-deploy`, but currently there seems to be no way of getting it using `abra`, and instead we have to run `docker service ls` on the server. `abra app ps` is close, but: 1. It doesn't help translate the domain name to the default service name 2. It doesn't handle cases where `STACK_NAME` is set manually It would be nice if we could just run e.g. `abra app services <domain>` to get the full service names, e.g. ``` ➜ abra app services git.coopcloud.tech +------------------------+-----------------------------+ | SERVICE NAME | IMAGE | +------------------------+-----------------------------+ | git_coopcloud_tech_db | mariadb:10.6 | | git_coopcloud_tech_app | gitea/gitea:1.17.3-rootless | +------------------------+-----------------------------+ ```
3wordchant added the
enhancement
abra
labels 2022-12-27 19:30:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#372
No description provided.