Compare commits

...

12 Commits

2 changed files with 9 additions and 12 deletions

View File

@ -27,7 +27,7 @@ kind: pipeline
name: recipe release
steps:
- name: release a new version
image: decentral1se/drone-abra:latest
image: thecoopcloud/drone-abra:latest
settings:
command: recipe rocketchat release
deploy_key:

View File

@ -1,7 +1,7 @@
version: '3.8'
version: "3.8"
services:
app:
image: rocketchat/rocket.chat:3.13.0
image: rocketchat/rocket.chat:3.16.3
depends_on:
- db
volumes:
@ -26,10 +26,8 @@ services:
- internal
- proxy
entrypoint: /docker-entrypoint.sh
command: >
command: |
bash -c
"for i in `seq 1 30`; do
node main.js &&
s=$$? && break || s=$$?;
@ -37,7 +35,7 @@ services:
sleep 5;
done; (exit $$s)"
healthcheck:
test: "nodejs -e \"http.get('http://localhost:3000', (res) => { console.log('status: ', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } });\""
test: 'nodejs -e "http.get(''http://localhost:3000'', (res) => { console.log(''status: '', res.statusCode); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } });"'
interval: 30s
timeout: 10s
retries: 3
@ -56,7 +54,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- coop-cloud.${STACK_NAME}.app.version=3.13.0-1300a401
- coop-cloud.${STACK_NAME}.app.version=3.16.1-da4b65ff
db:
image: mongo:3.7
volumes:
@ -73,11 +71,9 @@ services:
# this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running)
mongo-init-replica:
image: mongo:4.0
command: >
image: mongo:4.4
command: |
bash -c
"for i in `seq 1 30`; do
mongo db/rocketchat --eval \"
rs.initiate({
@ -95,6 +91,7 @@ networks:
proxy:
external: true
internal:
internal: true
volumes:
rocketchat_uploads:
mongo: