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:
Meysam Hadeli 2024-08-22 17:59:16 +03:30 committed by GitHub
commit aa112bceb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

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

View File

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