Halo
docker run -it -d --name halo -p 8090:8090 -v /D/halo/halo2.0:/root/.halo2 halohub/halo:2.14.0-rc.1 --halo.external-url=http://localhost:8088/ --halo.security.initializer.superadminuser=admin --halo.security.initializer.superadminpassword=11111 --SPRING_THYMELEAF_CACHE=false
Kibana
docker run --name kibana7 -d -p 5601:5601 --network 1panel-network \
-e SERVER_NAME=kibana7 \
-e ELASTICSEARCH_HOSTS=http://172.18.0.5:9200 \
-e ELASTICSEARCH_USERNAME=elastic \
-e ELASTICSEARCH_PASSWORD=elastic \
-e XPACK_MONITORING_UI_CONTAINER_ELASTICSEARCH_ENABLED=true \
-e I18N_LOCALE=zh-CN \
--memory=4g \
kibana:7.17.23
ElasticSearch
./bin/elasticsearch-plugin install https://release.infinilabs.com/analysis-ik/stable/elasticsearch-analysis-ik-7.17.23.zip
etcd
rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
docker rmi quay.io/coreos/etcd:v3.5.15 || true && \
docker run \
-p 2379:2379 \
-p 2380:2380 \
--mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
--name etcd-gcr-v3.5.15 \
--network 1panel-network \
--memory=4g \
quay.io/coreos/etcd:v3.5.15 \
/usr/local/bin/etcd \
--name s1 \
--data-dir /etcd-data \
--listen-client-urls http://0.0.0.0:2379 \
--advertise-client-urls http://0.0.0.0:2379 \
--listen-peer-urls http://0.0.0.0:2380 \
--initial-advertise-peer-urls http://0.0.0.0:2380 \
--initial-cluster s1=http://0.0.0.0:2380 \
--initial-cluster-token tkn \
--initial-cluster-state new \
--log-level info \
--logger zap \
--log-outputs stderr
hotkey
java -jar worker-0.0.4-SNAPSHOT.jar --etcd.server=127.0.0.1:2379
nacos
networks:
1panel-network:
external: true
services:
nacos:
container_name: ${CONTAINER_NAME}-standalone
deploy:
resources:
limits:
cpus: ${CPUS}
memory: ${MEMORY_LIMIT}
environment:
- NACOS_AUTH_ENABLE=${NACOS_AUTH_ENABLE:-FALSE}
- PREFER_HOST_MODE=hostname
- MODE=standalone
- JVM_XMS=${JVM_XMS}
- JVM_XMX=${JVM_XMX}
- JVM_XMN=${JVM_XMN}
- JVM_MS=${JVM_MS}
- JVM_MMS=${JVM_MMS}
- NACOS_AUTH_IDENTITY_KEY=${NACOS_AUTH_IDENTITY_KEY}
- NACOS_AUTH_IDENTITY_VALUE=${NACOS_AUTH_IDENTITY_VALUE}
- NACOS_AUTH_TOKEN=${NACOS_AUTH_TOKEN}
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
- SPRING_DATASOURCE_PLATFORM=mysql
- MYSQL_SERVICE_HOST=110.xx.xx.xxx
- MYSQL_SERVICE_PORT=3306
- MYSQL_SERVICE_DB_NAME=nacosxxxx
- MYSQL_SERVICE_DB_PARAM=characterEncoding=utf8&connectTimeout=10000&socketTimeout=3000&autoReconnect=true&useSSL=false&serverTimezone=UTC
- MYSQL_SERVICE_USER=root
- MYSQL_SERVICE_PASSWORD=xxx
image: nacos/nacos-server:v2.2.0
labels:
createdBy: Apps
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:8848
- ${HOST_IP}:${PANEL_APP_PORT_COMMUNICATION}:9848
restart: always
volumes:
- ./data/logs:/home/nacos/logs
- ./data/data:/home/nacos/data
jrebel
./ReverseProxy_linux_amd64 -l "0.0.0.0:8888" > /home/logs/rp.log 2>&1 &
ss -tuln | grep :8888
lsof -i :8888
kill 123213