Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Jan 4, 2024
1 parent 17b3a07 commit 967f10c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ services:
source: ../init-mongo.sh
target: /docker-entrypoint-initdb.d/init-mongo.sh
read_only: true
# entrypoint:
# - bash
# - -c
# - |
# chmod 400 /etc/mongo/replica.key
# chown 999:999 /etc/mongo/replica.key
entrypoint:
- bash
- -c
- |
chmod 400 /etc/mongo/replica.key
chown 999:999 /etc/mongo/replica.key
healthcheck:
test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet
# test: test $$(echo "rs.initiate().ok || rs.status().ok") | mongosh localhost:27017/test --quiet
Expand Down

0 comments on commit 967f10c

Please sign in to comment.