I deployed tigase with docker and docker image is tigase / tigase-xmpp-server: nightly
During the setup process, domain I fill in the IP address, I can send text messages with Siskin IM APP, I want to configure to send files,
tigase.log.zip
Have you exposed HTTP port used by Tigase XMPP Server from docker instance, so it would be accessible?
As you are running Tigase in docker, you may also need to configure serverName in HTTP File Upload component configuration, as Tigase uses hostname to generate URI used by client to upload files (if serverName is not configured) and in this case this domain name may not be resolvable by your client.
Unknown commented 2 years ago
Yes, this port has been exposed,
docker run -d
--name some_tigase
-v /home/tigase/etc/:/home/tigase/tigase-server/etc/
-v /home/tigase/certs/:/home/tigase/tigase-server/certs/
-v /home/tigase/data/:/home/tigase/tigase-server/data/
-e 'DB_ROOT_USER=root'
-e 'DB_ROOT_PASS=root-password'
-p 5222:5222
-p 5280:5280
-p 5290:5290
-p 8080:8080
tigase/tigase-xmpp-server:nightly
Can the Upload configuration do this?
upload ()
{
logic {
local-only = false
max-file-size = 10485760
serverName="49.4.64.168"
}
}
I deployed tigase with docker and docker image is tigase / tigase-xmpp-server: nightly During the setup process, domain I fill in the IP address, I can send text messages with Siskin IM APP, I want to configure to send files, tigase.log.zip
admins = [ 'admin@49.4.64.168' ] 'config-type' = 'default' debug = [ 'server' ] 'default-virtual-host' = '49.4.64.168' dataSource () { default () { uri = 'jdbc:derby:tigasedb;create=true' } } http () { setup () { 'admin-password' = '12345678' 'admin-user' = 'admin' } } pubsub () { trusted = [ 'http@{clusterNode}' ] } upload () {}