This commit is contained in:
2026-11-21 11:19:58 -05:00
parent 9bbd648b4c
commit b4d341389d
18 changed files with 4744 additions and 99 deletions
+26
View File
@@ -0,0 +1,26 @@
services:
bettercap:
image: bettercap/bettercap:latest
container_name: viator-bettercap
restart: unless-stopped
privileged: true
network_mode: host
command:
- -eval
- >-
set api.rest.username '${BETTERCAP_USER:-viator}';
set api.rest.password '${BETTERCAP_PASSWORD:?Set BETTERCAP_PASSWORD in viator.env}';
set api.rest.address '${VIATOR_DOCKER_GATEWAY:-172.17.0.1}';
set api.rest.port 8081;
set api.rest.alloworigin 'https://bettercap.${VIATOR_DOMAIN:-viator.internal}';
api.rest on;
set ui.address '${VIATOR_DOCKER_GATEWAY:-172.17.0.1}';
set ui.port 1600;
ui on;
set gps.device localhost:2947;
labels:
caddy: bettercap.${VIATOR_DOMAIN:-viator.internal}
caddy.reverse_proxy: host.docker.internal:1600
caddy_1: api.bettercap.${VIATOR_DOMAIN:-viator.internal}
caddy_1.reverse_proxy: host.docker.internal:8081