update compose
This commit is contained in:
parent
3523555354
commit
a23ac31046
18
compose.yml
18
compose.yml
|
@ -38,6 +38,24 @@ services:
|
||||||
command: redis-server --requirepass "12345678"
|
command: redis-server --requirepass "12345678"
|
||||||
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:
|
||||||
|
|
Loading…
Reference in New Issue