mirror of
https://github.com/SunboX/sl-fabaccess-docker-compose.git
synced 2025-03-12 23:11:49 +01:00
25 lines
750 B
YAML
25 lines
750 B
YAML
version: "3.8"
|
|
services:
|
|
bffh:
|
|
image: registry.gitlab.com/fabinfra/fabaccess/bffh:latest
|
|
pull_policy: always
|
|
restart: always
|
|
ports:
|
|
- "59661:59661"
|
|
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"
|
|
- data:/var/lib/bffh
|
|
links:
|
|
- mqtt
|
|
mqtt:
|
|
image: eclipse-mosquitto:1.6.15
|
|
restart: always
|
|
ports:
|
|
- "1883:1883"
|
|
volumes:
|
|
- "./config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf"
|
|
volumes:
|
|
data:
|