Skip to content

Commit

Permalink
Mounted all 3 databases' data on volumes to allow backups/data still …
Browse files Browse the repository at this point in the history
…being there when restarted
  • Loading branch information
tomakehurst committed Dec 20, 2023
1 parent 1605b15 commit d84f6a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
healthcheck:
test: [ "CMD", "/usr/local/bin/healthcheck.sh", "--su=root", "--connect", "--innodb_initialized" ]
retries: 5
volumes:
- mariadb-data:/var/lib/mysql

redis:
image: redis:latest
Expand All @@ -19,6 +21,8 @@ services:
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
retries: 5
volumes:
- redis-data:/data

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.6
Expand All @@ -28,6 +32,8 @@ services:
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- ANONYMOUS_USER=true
volumes:
- elastic-data:/usr/share/elasticsearch/data

kibiter:
restart: on-failure:5
Expand Down Expand Up @@ -120,6 +126,9 @@ services:

volumes:
sortinghat-static:
mariadb-data:
redis-data:
elastic-data:

secrets:
github-api-token:
Expand Down
Empty file modified scripts/run-sirmordred
100644 → 100755
Empty file.

0 comments on commit d84f6a8

Please sign in to comment.