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.