Add an app identifier if there is no domain when listing apps #636
Open
opened 2024-08-14 15:49:35 +00:00 by ammaratef45
·
11 comments
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#636
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Some recipes like
backup-bot-twodon't have a domain because they won't be accessible by the internet.We need abra to be able to list what domain to use when managing this app though. When running
abra app lsthe app shows without a domainIf I don't remember what domain I used to create the app I will have to figure it out by running
ls .abra/server/<server>and finding the folder name.It would be nice to have
abra lsshow that instead of having to run ls.(sorry for the poor table formating)
I would propose to use the appname (.env file name) as identifier instead of the domain. Or maybe only as fallback if the domain is not available. In the current implementation the appnames equals the domain per default, but it's still possible to rename the .env file to change the appname.
I like this idea
This but also consider them "internal" apps? Like in the third column of the proposed table, but as a secondary table could work too, so they're very distinctly separated.
@moritz @ammaratef45 @fauno Slightly off-topic but also not. I was thinking of even deprecating the
<domain>in the CLI usage docs and using instead<app>? WDYT? Related coop-cloud/abra#452I like the idea of replacing domain with app
I think you convinced me out of this. Gotta try to be less presuasive 😁
What I remember / what I now think: "app name" is an extra concept, and it's not worth introducing it for the sake of the 1% (unscientific) of recipes which don't have a domain.
My suggestion for the issue at hand is to say "every recipe has to have a domain even if in some cases it's just an identifier".
Oh yes, I remember that 😂 That seems like a reasonable take. I was also experimenting with just putting "N/A" in the cell for domain when not present 🤷 Unless I hear otherwise, I'll add this one to the pile to fix up.
decentral1se referenced this issue2024-12-30 00:27:34 +00:00
app name is not that of an extra concept, a bunch of recipe use that word either instead of domain or exchangeable with domain in their documentation and comments
I agree using app name may be less confusing if you mean:
But I'd still like to have a clear separation of which apps are publicly accesible (pass a domain check, have an URL I can open on a browser) and which are not. AFAIK only backup-bot-two is an internal app? I'd be happy if it shows a status page when I open https://backup-bot-two.server.org :B
@ammaratef45 fair point, there's probably some dangling inconsistency from when this conversation was had before. I think we should change all the references to
app_nametodomain.As far as I know the only recipes which do not have a domain (that is, fully-qualified domain name) are:
HEADLESS=1What I mean by "extra concept" is that currently
abrajust asks for "domain" duringapp new.If we asked for "app name" as well (like we used to), that's two decisions everyone now has to make for about naming, for all apps they deploy.
And it seems to me that's question would mostly be a confusing waste of users' time, given that the other ~155 recipes don't need it.
It seems much more reasonable – if possibly a little silly – to say that all apps need a domain, even if it's an identifier, so
backup.example.comdoesn't resolve to anything.Alternatively, as a more-correct, more-work second option I would suggest saying every Co-op Cloud app has to have a domain because it has to have at least one webpage. Then we add a basic "it works" HTML page to the above 4 recipes.
From a security perspective I don't like the idea that the backup bot is reachable from the outside. It should not expose anything to the internet. But maybe this can be solve directly inside of traefik? So traefik will expose a "it works" status HTML page for apps that are running but not exposing any ports?