mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
2915354e1c
* chore(deps): update nacos/nacos-server docker tag to v2.4.2 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
30 lines
894 B
YAML
30 lines
894 B
YAML
services:
|
|
nacos:
|
|
image: nacos/nacos-server:v2.4.2
|
|
container_name: ${CONTAINER_NAME}-standalone
|
|
restart: always
|
|
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}
|
|
volumes:
|
|
- ./data/logs:/home/nacos/logs
|
|
- ./data/data:/home/nacos/data
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:8848"
|
|
- "${PANEL_APP_PORT_COMMUNICATION}:9848"
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true
|