chore(deps): update hashicorp/consul docker tag to v1.20.0 (#2298)

* chore(deps): update hashicorp/consul docker tag to v1.20.0

* 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>
This commit is contained in:
renovate[bot]
2024-10-15 22:16:28 +08:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> github-action update-app-version
parent eb9dff8499
commit 65fbd3d2a8
6 changed files with 1 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
additionalProperties:
formFields:
- default: 8500
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 8600
edit: true
envKey: PANEL_APP_PORT_DNS
labelEn: DNS Port
labelZh: DNS端口
required: true
rule: paramPort
type: number
+21
View File
@@ -0,0 +1,21 @@
services:
consul:
image: hashicorp/consul:1.20.0
container_name: ${CONTAINER_NAME}
restart: always
ports:
- "${PANEL_APP_PORT_HTTP}:8500"
- "${PANEL_APP_PORT_DNS}:8600/udp"
command: consul agent -server -bootstrap-expect=1 -client=0.0.0.0 -ui -data-dir=/consul/data -node=consul-node -datacenter=dc1 -log-level=warn -enable-script-checks=true -config-dir=/consul/config
volumes:
- ./data/config:/consul/config
- ./data/data:/consul/data
- ./data/logs:/consul/logs
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1000:1000 data