my docker-compose file
mysql:
image: mysql:8.0
container_name: tinode-mysql
volumes:
- ./data:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
networks:
- tinode-net
tinode:
image: tinode/tinode-mysql:latest
container_name: tinode-server
ports:
- "6060:6060"
volumes:
- ./uploads:/opt/tinode/uploads
- ./logs:/var/log
- ./webapp:/opt/tinode/webapp
environment:
EXT_STATIC_DIR: /opt/tinode/webapp/static
depends_on:
- mysql
networks:
- tinode-net
networks:
tinode-net:
driver: bridge``
Unpack JS client to a directory, for instance $HOME/tinode/webapp/
to the same directory.
I run tinode in a network without internet access. when visiting tinode's website like xx.xx.xx.xx:6060,
webapp works abnormal.
It seems that browser needs to download some js file from internet.But I don't have internet access.
This caused some errors.
I downloaded those js files and put them into /opt/tinode/webapp/static ,still the same error .
Is there any suggestion to solve this problem ? Thanks.