Compare commits
20 Commits
Author | SHA1 | Date |
---|---|---|
Renovate Bot | fd401a6f60 | |
decentral1se | 3064a42fa5 | |
Renovate Bot | 7223835968 | |
decentral1se | 41857ebcad | |
decentral1se | 3f0a907b57 | |
decentral1se | b7546337ae | |
Renovate Bot | d19bd75b98 | |
Renovate Bot | 460a94671d | |
Renovate Bot | cfbb1989c0 | |
decentral1se | e0dd8b2910 | |
Renovate Bot | 3918d497ce | |
Renovate Bot | 8c833fc4ae | |
Renovate Bot | 3108840041 | |
decentral1se | 1a301b243f | |
decentral1se | 338a44e9cd | |
decentral1se | 4c8153aad1 | |
3wc | 15132f0258 | |
3wc | 6126a60642 | |
3wc | d5e09cf1c6 | |
3wc | ac6b236c7b |
10
.drone.yml
10
.drone.yml
|
@ -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
|
||||
|
|
57
compose.yml
57
compose.yml
|
@ -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}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
Reference in New Issue