We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ cat docker-compose.yml version: "3" services: ciao: image: brotandgames/ciao container_name: ciao ports: - '8090:3000' environment: - CIAO_WEBHOOK_ENDPOINT_1="https://hooks.slack.com/****/****" - CIAO_WEBHOOK_PAYLOAD_1='{"text":"[ciao] __name__ Status changed (__status_after__)"}' volumes: - /opt/ciao/data:/app/db/sqlite/
E, [2019-08-21T07:07:01.102033 #1] ERROR -- : err46945276638420 0: /usr/local/lib/ruby/2.6.0/uri/rfc3986_parser.rb:67:in split' E, [2019-08-21T07:07:01.102106 #1] ERROR -- : err46945276638420 1: /usr/local/lib/ruby/2.6.0/uri/rfc3986_parser.rb:73:in parse' E, [2019-08-21T07:07:01.102158 #1] ERROR -- : err46945276638420 2: /usr/local/lib/ruby/2.6.0/uri/common.rb:234:in parse' E, [2019-08-21T07:07:01.102308 #1] ERROR -- : err46945276638420 3: /app/app/lib/ciao/notifications/webhook_notification.rb:7:in notify' E, [2019-08-21T07:07:01.102395 #1] ERROR -- : err46945276638420 4: /app/app/models/check.rb:73:in block (2 levels) in create_job' E, [2019-08-21T07:07:01.102479 #1] ERROR -- : err46945276638420 5: /app/app/models/check.rb:72:in each' E, [2019-08-21T07:07:01.102564 #1] ERROR -- : err46945276638420 6: /app/app/models/check.rb:72:in block in create_job' E, [2019-08-21T07:07:01.102650 #1] ERROR -- : err46945276638420 7: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:223:in do_call' E, [2019-08-21T07:07:01.102736 #1] ERROR -- : err46945276638420 8: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:267:in trigger_now' E, [2019-08-21T07:07:01.102803 #1] ERROR -- : err46945276638420 9: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:312:in block (3 levels) in start_work_thread' E, [2019-08-21T07:07:01.102866 #1] ERROR -- : err46945276638420 10: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:315:in block (2 levels) in start_work_thread' E, [2019-08-21T07:07:01.102922 #1] ERROR -- : err46945276638420 11: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:301:in loop' E, [2019-08-21T07:07:01.102979 #1] ERROR -- : err46945276638420 12: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:301:in `block in start_work_thread'
split' E, [2019-08-21T07:07:01.102106 #1] ERROR -- : err46945276638420 1: /usr/local/lib/ruby/2.6.0/uri/rfc3986_parser.rb:73:in
parse' E, [2019-08-21T07:07:01.102308 #1] ERROR -- : err46945276638420 3: /app/app/lib/ciao/notifications/webhook_notification.rb:7:in
block (2 levels) in create_job' E, [2019-08-21T07:07:01.102479 #1] ERROR -- : err46945276638420 5: /app/app/models/check.rb:72:in
block in create_job' E, [2019-08-21T07:07:01.102650 #1] ERROR -- : err46945276638420 7: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:223:in
trigger_now' E, [2019-08-21T07:07:01.102803 #1] ERROR -- : err46945276638420 9: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:312:in
block (2 levels) in start_work_thread' E, [2019-08-21T07:07:01.102922 #1] ERROR -- : err46945276638420 11: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:301:in
The response is Bad operation
I had to remove the " and ' in the environment and it worked
environment: - CIAO_WEBHOOK_ENDPOINT_1=https://hooks.slack.com/****/**** - CIAO_WEBHOOK_PAYLOAD_1={"text":"[ciao] __name__ Status changed (__status_after__)"}
Should it support to remove "" or '' at @endpoint before sending to URI.parse
The text was updated successfully, but these errors were encountered:
This is related to docker/compose#2854 - see also this Stack Overflow answer.
Docker-compose section in the README will be updated with examples.
Sorry, something went wrong.
Add docker-compose notes (#40)
dd13b40
No branches or pull requests
E, [2019-08-21T07:07:01.102033 #1] ERROR -- : err46945276638420 0: /usr/local/lib/ruby/2.6.0/uri/rfc3986_parser.rb:67:in
split' E, [2019-08-21T07:07:01.102106 #1] ERROR -- : err46945276638420 1: /usr/local/lib/ruby/2.6.0/uri/rfc3986_parser.rb:73:in
parse'E, [2019-08-21T07:07:01.102158 #1] ERROR -- : err46945276638420 2: /usr/local/lib/ruby/2.6.0/uri/common.rb:234:in
parse' E, [2019-08-21T07:07:01.102308 #1] ERROR -- : err46945276638420 3: /app/app/lib/ciao/notifications/webhook_notification.rb:7:in
notify'E, [2019-08-21T07:07:01.102395 #1] ERROR -- : err46945276638420 4: /app/app/models/check.rb:73:in
block (2 levels) in create_job' E, [2019-08-21T07:07:01.102479 #1] ERROR -- : err46945276638420 5: /app/app/models/check.rb:72:in
each'E, [2019-08-21T07:07:01.102564 #1] ERROR -- : err46945276638420 6: /app/app/models/check.rb:72:in
block in create_job' E, [2019-08-21T07:07:01.102650 #1] ERROR -- : err46945276638420 7: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:223:in
do_call'E, [2019-08-21T07:07:01.102736 #1] ERROR -- : err46945276638420 8: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:267:in
trigger_now' E, [2019-08-21T07:07:01.102803 #1] ERROR -- : err46945276638420 9: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:312:in
block (3 levels) in start_work_thread'E, [2019-08-21T07:07:01.102866 #1] ERROR -- : err46945276638420 10: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:315:in
block (2 levels) in start_work_thread' E, [2019-08-21T07:07:01.102922 #1] ERROR -- : err46945276638420 11: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:301:in
loop'E, [2019-08-21T07:07:01.102979 #1] ERROR -- : err46945276638420 12: /usr/local/bundle/gems/rufus-scheduler-3.6.0/lib/rufus/scheduler/jobs.rb:301:in `block in start_work_thread'
The response is Bad operation
I had to remove the " and ' in the environment and it worked
Should it support to remove "" or '' at @endpoint before sending to URI.parse
The text was updated successfully, but these errors were encountered: