demos.showcase/docker-compose.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

2022-04-20 16:21:27 +02:00
version: "3.8"
services:
#dnsrobocert:
# image: adferrand/dnsrobocert
# pull_policy: always
# restart: always
# volumes:
# - "./config/cert:/etc/letsencrypt"
# - "./config/dnsrobocert:/etc/dnsrobocert"
bffh:
2022-05-28 22:59:07 +02:00
image: registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2
2022-04-20 16:21:27 +02:00
pull_policy: always
restart: always
ports:
- "59666:59661"
entrypoint: ["sh", "-c", "bffhd -c /etc/bffh/bffh.dhall --load=/etc/bffh/users.toml; bffhd -c /etc/bffh/bffh.dhall"]
environment:
2022-05-28 22:59:07 +02:00
- "BFFH_LOG=debug"
2022-04-20 16:21:27 +02:00
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/letsencrypt"
- data:/var/lib/bffh
links:
- mqtt
mqtt:
image: eclipse-mosquitto:1.6.15
restart: always
2022-05-28 22:59:07 +02:00
# ports:
#- "1883:1883"
2022-04-20 16:21:27 +02:00
volumes:
- "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf"
volumes:
data: