update compose
This commit is contained in:
parent
3523555354
commit
a23ac31046
18
compose.yml
18
compose.yml
|
@ -39,6 +39,24 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- d:/docker-data/redis:/data
|
- d:/docker-data/redis:/data
|
||||||
|
|
||||||
|
consul:
|
||||||
|
image: docker.io/bitnami/consul:latest
|
||||||
|
container_name: consul01
|
||||||
|
restart: always
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
networks:
|
||||||
|
- y9-share-net
|
||||||
|
volumes:
|
||||||
|
- d:/docker-data/consul:/bitnami/consul
|
||||||
|
ports:
|
||||||
|
- '8300:8300'
|
||||||
|
- '8301:8301'
|
||||||
|
- '8301:8301/udp'
|
||||||
|
- '8500:8500'
|
||||||
|
- '8600:8600'
|
||||||
|
- '8600:8600/udp'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
y9-share-net:
|
y9-share-net:
|
||||||
external: true
|
external: true
|
||||||
|
|
Loading…
Reference in New Issue