Compare commits

...

20 Commits
3.12.3 ... main

Author SHA1 Message Date
Renovate Bot fd401a6f60 Update rocketchat/rocket.chat Docker tag to v3.16.3 2021-07-14 07:03:08 +00:00
decentral1se 3064a42fa5
Scope internal network internally 2021-07-10 19:17:14 +02:00
Renovate Bot 7223835968 Update rocketchat/rocket.chat Docker tag to v3.16.2 2021-07-09 07:02:53 +00:00
decentral1se 41857ebcad
Version 3.16.1; sync labels 2021-07-06 11:49:44 +02:00
decentral1se 3f0a907b57
Try to avoid release logic automation bug
See coop-cloud/abra#174.
2021-07-06 11:49:23 +02:00
decentral1se b7546337ae
Run auto-formatter 2021-07-06 11:45:46 +02:00
Renovate Bot d19bd75b98
Update rocketchat/rocket.chat Docker tag to v3.16.1 2021-07-06 11:43:46 +02:00
Renovate Bot 460a94671d
Update rocketchat/rocket.chat Docker tag to v3.16.0 2021-07-06 11:43:46 +02:00
Renovate Bot cfbb1989c0
Update rocketchat/rocket.chat Docker tag to v3.15.1 2021-07-06 11:43:46 +02:00
decentral1se e0dd8b2910
Use new image namespace 2021-07-06 11:43:46 +02:00
Renovate Bot 3918d497ce
Update rocketchat/rocket.chat Docker tag to v3.15.0 2021-07-06 11:43:46 +02:00
Renovate Bot 8c833fc4ae
Update mongo Docker tag to v4.4 2021-07-06 11:43:46 +02:00
Renovate Bot 3108840041 Add renovate.json
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-06-04 07:04:16 +00:00
decentral1se 1a301b243f
Remove trigger, we make the tags [ci skip] 2021-06-04 00:15:27 +02:00
decentral1se 338a44e9cd
Fix bad name in batch update script [ci skip] 2021-06-03 23:07:12 +02:00
decentral1se 4c8153aad1
Add release logic to CI [ci skip] 2021-06-03 23:01:20 +02:00
3wc 15132f0258 Version 3.13.0; sync labels
continuous-integration/drone/push Build is passing Details
2021-04-05 12:52:03 +02:00
3wc 6126a60642 Update rocketchat/rocket.chat to 3.13.0 2021-04-05 12:51:22 +02:00
3wc d5e09cf1c6 Sync label for new Mongo version
continuous-integration/drone/push Build is passing Details
2021-04-04 21:56:52 +02:00
3wc ac6b236c7b Bump mongo version 2021-04-04 20:53:08 +02:00
3 changed files with 29 additions and 41 deletions

View File

@ -22,3 +22,13 @@ steps:
trigger:
branch:
- main
---
kind: pipeline
name: recipe release
steps:
- name: release a new version
image: thecoopcloud/drone-abra:latest
settings:
command: recipe rocketchat release
deploy_key:
from_secret: abra_bot_deploy_key

View File

@ -1,9 +1,7 @@
---
version: '3.8'
version: "3.8"
services:
app:
image: rocketchat/rocket.chat:3.12.3
image: rocketchat/rocket.chat:3.16.3
depends_on:
- db
volumes:
@ -28,7 +26,7 @@ services:
- internal
- proxy
entrypoint: /docker-entrypoint.sh
command: >
command: |
bash -c
"for i in `seq 1 30`; do
node main.js &&
@ -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,23 +54,25 @@ 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.16.1-da4b65ff
db:
image: mongo:3.6
image: mongo:3.7
volumes:
- mongo:/data/db
#- ./data/dump:/dump
- mongo:/data/db
#- ./data/dump:/dump
command: mongod --smallfiles --oplogSize 128 --replSet rs0
networks:
- internal
labels:
- "traefik.enable=false"
deploy:
labels:
- coop-cloud.${STACK_NAME}.db.version=3.7-736eec20
# 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 \"
@ -87,43 +87,18 @@ services:
- db
networks:
- internal
# hubot, the popular chatbot (add the bot user first and change the password before starting this image)
#hubot:
# image: rocketchat/hubot-rocketchat:latest
# restart: unless-stopped
# environment:
# - ROCKETCHAT_URL=rocketchat:3000
# - ROCKETCHAT_ROOM=GENERAL
# - ROCKETCHAT_USER=bot
# - ROCKETCHAT_PASSWORD=botpassword
# - BOT_NAME=bot
# # you can add more scripts as you'd like here, they need to be installable by npm
# - EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics
# depends_on:
# - rocketchat
# labels:
# - "traefik.enable=false"
# volumes:
# - hubot_scripts:/home/hubot/scripts
# # this is used to expose the hubot port for notifications on the host on port 3001, e.g. for hubot-jenkins-notifier
# #ports:
# # - 3001:8080
networks:
proxy:
external: true
internal:
internal: true
volumes:
rocketchat_uploads:
mongo:
secrets:
admin_password:
external: true
admin_password:
external: true
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
configs:
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}