Replaced Kadira by meteor-apm-agent

This commit is contained in:
Gavin Lilly 2019-02-11 16:43:52 +00:00
parent 8996df5c09
commit 905c45f225
3 changed files with 6 additions and 11 deletions

View file

@ -90,4 +90,4 @@ wekan:wekan-ldap
wekan:accounts-cas wekan:accounts-cas
wekan-scrollbar wekan-scrollbar
mquandalle:perfect-scrollbar mquandalle:perfect-scrollbar
meteorhacks:kadira mdg:meteor-apm-agent

View file

@ -123,7 +123,7 @@ services:
# image: wekanteam/wekan:v1.95 # image: wekanteam/wekan:v1.95
#------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------
container_name: wekan-app container_name: wekan-app
restart: always restart: "no"
networks: networks:
- wekan-tier - wekan-tier
#------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------
@ -148,7 +148,7 @@ services:
# remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network # remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network
- 3000:8080 - 3000:8080
environment: environment:
- MONGO_URL=mongodb://wekandb:27017/wekan?replicaSet=kadira - MONGO_URL=mongodb://wekandb:27017/wekan
#--------------------------------------------------------------- #---------------------------------------------------------------
# ==== ROOT_URL SETTING ==== # ==== ROOT_URL SETTING ====
# Change ROOT_URL to your real Wekan URL, for example: # Change ROOT_URL to your real Wekan URL, for example:
@ -193,9 +193,9 @@ services:
# ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ==== # ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ====
# https://github.com/smeijer/kadira # https://github.com/smeijer/kadira
# https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f # https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f
- KADIRA_OPTIONS_ENDPOINT=http://kadira-engine:11011 - APM_OPTIONS_ENDPOINT=http://kadira-engine:11011
- KADIRA_APP_ID=iYpPgq6rXRrZJty4A - APM_APP_ID=iYpPgq6rXRrZJty4A
- KADIRA_APP_SECRET=9de2728b-320d-46c1-9352-0084435411f0 - APM_APP_SECRET=9de2728b-320d-46c1-9352-0084435411f0
#--------------------------------------------------------------- #---------------------------------------------------------------
# ==== OPTIONAL: LOGS AND STATS ==== # ==== OPTIONAL: LOGS AND STATS ====
# https://github.com/wekan/wekan/wiki/Logs # https://github.com/wekan/wekan/wiki/Logs

View file

@ -1,5 +0,0 @@
Meteor.startup(() => {
const appId = process.env.KADIRA_APP_ID;
const appSecret = process.env.KADIRA_APP_SECRET;
Kadira.connect(appId, appSecret);
});