mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-13 20:18:36 +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:
|
||||
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