sl-fabaccess-docker-compose/docker-compose.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

2021-09-20 21:54:53 +02:00
version: "3.8"
services:
2022-05-17 16:04:05 +02:00
#dnsrobocert:
# image: adferrand/dnsrobocert
# pull_policy: always
# restart: always
# volumes:
# - "./config/cert:/etc/letsencrypt"
# - "./config/dnsrobocert:/etc/dnsrobocert"
2021-09-20 21:54:53 +02:00
bffh:
image: registry.gitlab.com/fabinfra/fabaccess/bffh:development
2021-09-20 21:54:53 +02:00
pull_policy: always
restart: always
ports:
2022-05-17 19:54:13 +02:00
- "59661:59661"
2022-05-17 16:04:05 +02:00
entrypoint: ["sh", "-c", "bffhd -c /etc/bffh/bffh.dhall --load=/etc/bffh/users.toml; bffhd -c /etc/bffh/bffh.dhall"]
environment:
2022-05-17 19:54:13 +02:00
- "BFFH_LOG=debug"
2021-09-20 21:54:53 +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.
2021-09-21 21:00:18 +02:00
- "./config/bffh:/etc/bffh"
2021-09-21 18:59:08 +02:00
- "./adapters:/usr/local/lib/bffh/adapters"
2022-05-17 16:04:05 +02:00
- "./config/cert:/etc/letsencrypt"
2021-11-24 21:27:41 +00:00
- data:/var/lib/bffh
2021-09-20 21:54:53 +02:00
links:
- mqtt
2022-05-17 16:04:05 +02:00
2021-09-20 21:54:53 +02:00
mqtt:
image: eclipse-mosquitto:1.6.15
2021-09-21 16:26:51 +02:00
restart: always
ports:
- "1883:1883"
volumes:
- "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf"
2022-05-17 16:04:05 +02:00
2021-11-24 21:27:41 +00:00
volumes:
data:
2022-05-17 16:04:05 +02:00