demos.dockercompose.35services/docker-compose.yaml

44 lines
1.3 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:
2024-07-11 08:46:40 +02:00
build:
2024-07-11 09:18:08 +02:00
# changes in the file will require `docker compose down` `docker compose build`
2024-07-11 08:46:40 +02:00
context: .
2024-07-11 09:06:49 +02:00
dockerfile: bffh-v0.4.2-with-python3-dockerfile-v2
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"
2024-07-10 01:27:45 +02:00
- "./data:/var/lib/bffh"
2024-07-10 01:29:58 +02:00
- "./tmp:/tmp/"
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