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