fix: Fix event store restart policy in docker compose.

This commit is contained in:
Meysam Hadeli 2024-08-22 17:58:22 +03:30
parent 05683c70c4
commit 9544b95ce3
2 changed files with 5 additions and 3 deletions

View File

@ -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
######################################################

View File

@ -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