mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-18 09:52:11 +08:00
Merge pull request #301 from meysamhadeli/fix/fix-event-store-restore-policy-in-docker-compose
fix: Fix event store restart policy in docker compose.
This commit is contained in:
commit
aa112bceb9
@ -77,6 +77,7 @@ services:
|
|||||||
eventstore:
|
eventstore:
|
||||||
container_name: eventstore
|
container_name: eventstore
|
||||||
image: eventstore/eventstore:latest
|
image: eventstore/eventstore:latest
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- EVENTSTORE_CLUSTER_SIZE=1
|
- EVENTSTORE_CLUSTER_SIZE=1
|
||||||
- EVENTSTORE_RUN_PROJECTIONS=All
|
- EVENTSTORE_RUN_PROJECTIONS=All
|
||||||
@ -168,7 +169,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./monitoring/grafana-data/data:/var/lib/grafana
|
- ./monitoring/grafana-data/data:/var/lib/grafana
|
||||||
networks:
|
networks:
|
||||||
- booking
|
- booking
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
# node_exporter
|
# node_exporter
|
||||||
@ -185,7 +186,7 @@ services:
|
|||||||
- /sys:/host/sys:ro
|
- /sys:/host/sys:ro
|
||||||
- /:/rootfs:ro
|
- /:/rootfs:ro
|
||||||
networks:
|
networks:
|
||||||
- booking
|
- booking
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
# cadvisor
|
# cadvisor
|
||||||
@ -206,7 +207,7 @@ services:
|
|||||||
- /dev/kmsg
|
- /dev/kmsg
|
||||||
networks:
|
networks:
|
||||||
- booking
|
- booking
|
||||||
|
|
||||||
######################################################
|
######################################################
|
||||||
# Gateway
|
# Gateway
|
||||||
######################################################
|
######################################################
|
||||||
|
|||||||
@ -78,6 +78,7 @@ services:
|
|||||||
eventstore:
|
eventstore:
|
||||||
container_name: eventstore
|
container_name: eventstore
|
||||||
image: eventstore/eventstore:latest
|
image: eventstore/eventstore:latest
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- EVENTSTORE_CLUSTER_SIZE=1
|
- EVENTSTORE_CLUSTER_SIZE=1
|
||||||
- EVENTSTORE_RUN_PROJECTIONS=All
|
- EVENTSTORE_RUN_PROJECTIONS=All
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user