mirror of
https://gitlab.com/volkersfreunde/dockercompose.git
synced 2025-03-11 14:31:46 +01:00
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
version: "3.8"
|
|
services:
|
|
#dnsrobocert:
|
|
# image: adferrand/dnsrobocert
|
|
# pull_policy: always
|
|
# restart: always
|
|
# volumes:
|
|
# - "./config/cert:/etc/letsencrypt"
|
|
# - "./config/dnsrobocert:/etc/dnsrobocert"
|
|
|
|
bffh:
|
|
build:
|
|
# changes in the file will require `docker compose down` `docker compose build`
|
|
context: .
|
|
dockerfile: bffh-v0.4.2-with-python3-dockerfile-v2
|
|
pull_policy: always
|
|
restart: always
|
|
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/letsencrypt"
|
|
- "./data:/var/lib/bffh"
|
|
- "./tmp:/tmp/"
|
|
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:
|
|
|