mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 01:56:13 +08:00
9e64c43b82
* chore(deps): update hashicorp/consul docker tag to v1.18.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>
21 lines
640 B
YAML
21 lines
640 B
YAML
services:
|
|
consul:
|
|
image: hashicorp/consul:1.18.2
|
|
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 |