-
jonasw
SamWhited, that’s what I meant by "are you sure you’re looking at the right table" :)
-
Guus
Who here has been around forever? :)
-
Guus
https://en.wikipedia.org/w/index.php?title=XMPP_Standards_Foundation&action=edit§ion=1 has a note that it should be expanded. If someone could fill in some of the missing history of the XSF, and remove the 'needs expending' label, that'd be highly appreciated.
-
jonasw
can’t we link to the history page on the website?
-
Guus
(do we have such a page?)
-
Guus
but, no. We can reference it, but the article on wikipedia should be self-containing, I think.
-
jonasw
oh, that’s wikipedia
-
jonasw
I thought it was our wiki
-
jonasw
(I didn’t click and misread the URL)
-
Guus
Yeah, I was attempting to improve the public facing description of ourselves.
-
jonasw
@iteam: I soon™ have a Dockerfile which builds a container which has a working xmppoke command (the backend for the xmpp.net thing)
-
jonasw
what’s missing for the full xmpp.net thing is: the PHP-based frontend and a postgresql database where xmppoke dumps its results
-
jonasw
I feel that these two should be different containers though
-
jonasw
(is there an iteam-MUC which is more approriate?)
-
Guus
awesome
-
Guus
!
-
Guus
and yes, but I don't recall if it's open
-
Guus
try: iteam@ on this service
-
jonasw
posted update to members@, hopefully somebody will be willing to take over the PHP part :)
-
daniel
Php? Where? I love php
-
jonasw
I sense sarcasm
-
Guus
nono, touched-it-last rules now apply. Daniel's it.
-
Guus
kidding aside: many thanks for taking this on jonasw!
-
daniel
No I was only half kidding. I'm actually fine with PHP. I used it a lot when I was younger. And I would prefer it any time over node.js or what ever kids are doing these days. I can have a look later
-
daniel
I initally stopped reading that mail at the word docker though...
-
jonasw
daniel, my way of coping with docker is treating Dockerfiles as a lightweight way to write down recipes to create a system and ignore how it is actually executed :-)
-
Kev
Isn't that exactly what they are?
-
jonasw
yeah
-
Zash
my way of coping with docker is to not use docker
-
MattJ
I think xmppoke is exactly justification for why docker exists
-
jonasw
oh yes
-
jonasw
holy cow yes
-
jonasw
I also learnt to find it convenient to just do a docker run -it ubuntu:16.04 /bin/bash when somebody has an issue with something on ubuntu :)
-
Ge0rG
docker is where bloat meets cloud, right?
-
jonasw
daniel, would you give it a shot, despite docker? :)
-
mathieui
jonasw, thanks for the work on xmpp.net
-
SouL
Yes, I was reading the email now
-
jonasw
you’re welcome
-
moparisthebest
jonasw, I know how to setup nginx + php-fpm , just nothing about docker, I'm sure that's completely unhelpful but meh
-
moparisthebest
wait the xmpp wiki runs php can't that just be used?
-
Kev
If all that's needed is something that runs PHP, I can trivially make a container for that in a few minutes.
-
Kev
Is it?
-
jonasw
Kev, I think it’d be an amazing start
-
jonasw
some dockerfile with nginx and php set up
-
jonasw
I may be able to figure out the rest from there
-
Kev
Remind me next week and I'll have a look. I'm running out of time to do this week's stuff at the moment.
-
jonasw
(my attempts with nginx and php all failed and a chickened out back to apache2 last I tried)
-
jonasw
sure
-
jonasw
maybe someone else steps up in the meantime :)
-
daniel
jonasw: oh you need someone to create a docker that runs php. I initally thought you needed someone to fix a script or something
-
jonasw
daniel, actually it needs someone who sets up a docker running php+nginx and the xmppoke-frontend, which might involve fixing PHP things
-
mathieui
a docker compose/stack that runs php is pretty standard
-
Guus
jonasw: assuming that there are plenty php webservers (nginx vs apache doesn't matter, I assume) out there: might be as easy as writing a docker file on top of a preexisting one?
-
jonasw
Guus, apache is much more resource-heavy, I’d avoid that for a docker container, considering that the xmpp server already runs a bunch of those
-
jonasw
mathieui, I have no idea of docker compose or stack
-
mathieui
jonasw, essentially "get existing images, glue them together in a standard way, and mount your code as a volume"
-
mathieui
the only pain point in the database
-
Guus
https://hub.docker.com/_/php/ <-- seach for 'with apache'
-
mathieui
Guus, I would get separate fpm & webserver containers
-
Guus
if that's a two-line fix, sod the additional resoruces for the moment.
-
Guus
mathieui: I know nothing! I'm googling my way around.
-
jonasw
mathieui, "mount your code as a volume", I can imagine that this won’t fly with iteam
-
Kev
I have countless PHP things deployed via Docker, doing this for xmpp.net if that's all that's required should be straightforward.
-
jonasw
Kev, the wiki thing was actually a good hint, where’s the Dockerfile for the wiki?
-
Kev
That's not our own Dockerfile.
-
jonasw
okay
-
Guus
all our Dockerfiles are in our github repo
-
jonasw
anyways, looking forward for somebody to take that on
-
mathieui
jonasw, you can also build an image with your code on top, but it means rebuilding it everytime you change the code
-
jonasw
mathieui, I’m aware of that
-
jonasw
of the latter I mean
-
mathieui
(I mean, I’m precisely debugging some icky docker+php stuff at work right now)
-
Guus
https://hub.docker.com/r/richarvey/nginx-php-fpm/ <-- would that work? Seems to be able to pull the website code from git.
-
jonasw
wth, why does that build nginx from source
-
Guus
dunno, don't care.
-
Guus
https://github.com/richarvey/nginx-php-fpm/blob/master/docs/config_flags.md <-- seems to be able to pull the php project from bitbucket too
-
Zash
Someone said that's how you are supposed to do it