fixed compose for current bffh version

This commit is contained in:
Kai Kriegel 2021-09-21 21:00:18 +02:00
parent 9a5c9fc4ad
commit 48fd41340c
4 changed files with 10 additions and 2 deletions

4
adapters/actor.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "Bash actor called with $@" > /tmp/act
echo "Bash actor called with: $@"

4
adapters/fail-actor.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
echo "This is some error output" > /dev/stderr
exit 115

View File

@ -55,7 +55,7 @@
} }
} }
, mqtt_url = "tcp://mqtt:1883" , mqtt_url = "tcp://mqtt:1883"
, db_path = "/var/lib/bffh/" , db_path = "/var/lib/bffh/db"
, roles = , roles =
{ testrole = { testrole =
{ permissions = [ "lab.test.*" ] } { permissions = [ "lab.test.*" ] }

View File

@ -8,7 +8,7 @@ services:
- "59661:59661" - "59661:59661"
volumes: volumes:
# generate a sample config.toml by running "docker run registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest --print-default > examples/config.toml" from the project root. You may have to delete the ipv6 listen section. # generate a sample config.toml by running "docker run registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest --print-default > examples/config.toml" from the project root. You may have to delete the ipv6 listen section.
- "./config:/etc/bffh" - "./config/bffh:/etc/bffh"
- "./adapters:/usr/local/lib/bffh/adapters" - "./adapters:/usr/local/lib/bffh/adapters"
links: links:
- mqtt - mqtt