fabaccess-cb/docker-compose.yaml
2024-02-09 18:31:29 +01:00

29 lines
905 B
YAML

version: "3.8"
services:
bffh:
image: registry.gitlab.com/fabinfra/fabaccess/bffh:development
ports:
- "59661:59661"
entrypoint: ["sh", "-c", "bffhd -c /etc/bffh/bffh.dhall --load=/etc/bffh/users.toml; bffhd -c /etc/bffh/bffh.dhall"]
environment:
- "BFFH_LOG=debug"
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.
- "./config/bffh:/etc/bffh"
- "./adapters:/usr/local/lib/bffh/adapters"
- "./config/cert:/etc/cert"
- data:/var/lib/bffh
depends_on:
- mosquitto
mosquitto:
image: eclipse-mosquitto:1.6.15
ports:
- "1883:1883"
volumes:
- "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf"
volumes:
data: