mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-17 11:28:56 +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
|
# Rocket.Chat server
|
||||||
#rocketchat:
|
#rocketchat:
|
||||||
# image: quay.io/egroupware/rocket.chat:latest
|
# 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
|
# restart: unless-stopped
|
||||||
# volumes:
|
# volumes:
|
||||||
# - $PWD/data/default/rocketchat/uploads:/app/uploads
|
# - $PWD/data/default/rocketchat/uploads:/app/uploads
|
||||||
|
@ -218,7 +218,14 @@ services:
|
|||||||
# Rocket.Chat server
|
# Rocket.Chat server
|
||||||
rocketchat:
|
rocketchat:
|
||||||
image: rocketchat/rocket.chat:latest
|
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
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD/data/default/rocketchat/uploads:/app/uploads
|
- $PWD/data/default/rocketchat/uploads:/app/uploads
|
||||||
|
Loading…
Reference in New Issue
Block a user