mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
fix docker-compose files to allow Rocket.Chat Alpine containers (not having bash installed)
This commit is contained in:
parent
b0fc5b5ce3
commit
6e2eb07125
@ -228,7 +228,14 @@ services:
|
||||
# Rocket.Chat server
|
||||
#rocketchat:
|
||||
# image: quay.io/egroupware/rocket.chat:latest
|
||||
# command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)'
|
||||
# command: >
|
||||
# sh -c
|
||||
# "while true; do
|
||||
# node main.js &&
|
||||
# s=$$? && break || s=$$?;
|
||||
# echo \"Could not reach MongoDB. Waiting 5 secs ...\";
|
||||
# sleep 5;
|
||||
# done; (exit $$s)"
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - $PWD/data/default/rocketchat/uploads:/app/uploads
|
||||
|
@ -218,7 +218,14 @@ services:
|
||||
# Rocket.Chat server
|
||||
rocketchat:
|
||||
image: rocketchat/rocket.chat:latest
|
||||
command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)'
|
||||
command: >
|
||||
sh -c
|
||||
"while true; do
|
||||
node main.js &&
|
||||
s=$$? && break || s=$$?;
|
||||
echo \"Could not reach MongoDB. Waiting 5 secs ...\";
|
||||
sleep 5;
|
||||
done; (exit $$s)"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/data/default/rocketchat/uploads:/app/uploads
|
||||
|
Loading…
Reference in New Issue
Block a user