You can directly use all the contents in this folder to deploy the complete project.
the shell file(restart-service.sh
) is used for start/restart the specific service (list: api user follow interaction video chat)
sh restart-service.sh # start all services
sh restart-service.sh api # start specific
- the container use host network
- you need to move config.yaml to the same dir as this file
- Before starting the service, you need to configure the corresponding environment (refer to the configuration in config.yaml).
- The script will automatically detect and delete the containers, no manual deletion is required.
- move all the contents under this directory to your server.
- complete the
config.yaml
(there are prompts inside the file). - if not launch env, use
docker-compose up -d
to launch. - enter this directory, simply execute
sh restart-service.sh
.
You may need to set up an nginx reverse proxy to allow external requests.
If you use docker-compose.yml
to launch essential services, please ensure there are data
and config
folder in the same foler.
Meanwhile, there are the list should in config
folder:
sql
folderinit.sql
: init table sqluser.sql
: for mysql-exporter to extract data
config.yaml
prometheus.yaml
: prometheus configwords.txt
: senstive words list