diff --git a/compose.yml b/compose.yml index 3a999d4..ec9e019 100644 --- a/compose.yml +++ b/compose.yml @@ -26,7 +26,7 @@ services: - internal - proxy entrypoint: /docker-entrypoint.sh - command: > + command: | bash -c "for i in `seq 1 30`; do node main.js && @@ -72,10 +72,8 @@ services: # it will run the command and remove himself (it will not stay running) mongo-init-replica: image: mongo:4.4 - command: > + command: | bash -c - - "for i in `seq 1 30`; do mongo db/rocketchat --eval \" rs.initiate({