Open nillebor opened 2 years ago
not yet, but it's been a long time i think prosody for docker is dead, if you look at the issues here!
See https://github.com/prosody/prosody-docker/issues/72#issuecomment-1014330842
I will consider this a request for i386. I know @mwild1 has some experience building multi-architecture Docker images for Snikket so should be doable once we get around to it.
I was able to get Docker with Prosody 11.9 working on a Synology 412+. The problems I ran into were fragmented instructions. The environment variables didn't appear to work, at least I could not get them to be recognized, so all configuration was applied on the prosody.cfg.lua file. The following should allow you to get started with the docker.
Mapping the volumes remained accurate based on the documents page ^1.
The example file ^2 for version 11 was missing pieces. I had to include some variables not included in the file pieced together from the documents and youtube videos.
Any variable in the configuration file referencing a docker environment variable, ENV_PROSODY_VIRTUAL_HOSTS for example, use the documented variable instead. ie: VirtualHost "example.com".
The database document page^3 was accurate for configuration, I used MySQL for the backend. However, the example file omitted the port variable. Here is the corrected version which worked immediately once I added the missing variable. sql = { driver = "MySQL", database = "prosody", port = "3306", username = "uname", password = "prosody_password", host = "ip_of_server" }
The bottom of the example file includes a line, Include (ENV_PROSODY_EXTRA_CONFIG or "/etc/prosody/conf.d/*.cfg.lua")
, comment it out. If you do make use of this feature you'll need to use the documented variable to assign the location.
Run the interactive docker exec -it container_name /bin/bash
and generate a self signed certificate with prosodyctl cert generate host_name
or import your own/use let's encrypt.
Run the interactive docker exec -it container_name /bin/bash
and create a new user with prosodyctl adduser user_name@host_name
.
i would like to use prosody on the synology diskstation. apparently, however, the images are very outdated and only for x64.