Jobbot image from dockerhub
@@ -245,32 +245,33 @@ services:
- wonnode2
- mongodb
-# hokify_bot:
-# restart: always
-# build: ../../image/bots
-# image: webofneeds/bots:int
-# environment:
-# - "MAIN_BOT=won.bot.app.HokifyJobBotApp"
-# - "node.default.host=satvm05.researchstudio.at"
-# - "node.default.http.port=8888"
-# - "uri.prefix.owner=https://satvm05.researchstudio.at/hokify_bot" # set this for the trust store alias
-# - "won.node.uris=https://satvm05.researchstudio.at:8888/won/resource https://satvm05.researchstudio.at/won/resource"
-# - "hokifyjobbot.botname = Hokify Bot"
-# - "hokifyjobbot.jsonURL = https://hokify.at/jobfeed-webofneeds.json/"
-# - "hokifyjobbot.geoURL = https://nominatim.openstreetmap.org/search"
-# - "hokifyjobbot.updateTime = 60"
-# - "hokifyjobbot.publishTime = 10"
-# - "hokifyjobbot.createAllInOne = false"
-# - "botContext.impl=mongoBotContext"
-# - "botContext.mongodb.user=won"
-# - "botContext.mongodb.pass=$mongo_db_passwd"
-# - "botContext.mongodb.host=satvm05.researchstudio.at"
-# - "botContext.mongodb.port=27018"
-# - "botContext.mongodb.database=int_bot"
-# depends_on:
-# - mongodb
-# - wonnode1
-# - wonnode2
+ hokify_bot:
+ restart: always
+ image: webofneeds/won-jobbot:latest
+ environment:
+ - "WON_KEYSTORE_DIR=/usr/src/bots/client-certs/"
+ - "WON_NODE_URI=https://satvm05.researchstudio.at/won"
+ # - "logging.config=/usr/src/bots/logback.xml"
+ - "uri.prefix.owner=https://satvm05.researchstudio.at/hokify_bot" # set this for the trust store alias
+ - "won.node.uris=https://satvm05.researchstudio.at:8888/won/resource https://satvm05.researchstudio.at/won/resource"
+ - "hokifyjobbot.jsonURL = https://hokify.at/jobfeed-webofneeds.json/"
+ - "hokifyjobbot.geoURL = https://nominatim.openstreetmap.org/search"
+ - "hokifyjobbot.updateTime = 60"
+ - "hokifyjobbot.publishTime = 10"
+ - "hokifyjobbot.createAllInOne = false"
+ - "botContext.impl=mongoBotContext"
+ - "botContext.mongodb.user=won"
+ - "botContext.mongodb.pass=$mongo_db_passwd"
+ - "botContext.mongodb.host=satvm05.researchstudio.at"
+ - "botContext.mongodb.port=27018"
+ - "botContext.mongodb.database=int_bot"
+ volumes:
+ - $base_folder/won-client-certs/debug_bot:/usr/src/bots/client-certs/
+ # - $base_folder/logback_debug_bot.xml:/usr/src/bots/logback.xml
+ depends_on:
+ - mongodb
+ - wonnode1
+ - wonnode2
# mail_bot:
# restart: always
