Renamed to opsbox

This commit is contained in:
2026-11-23 08:50:21 -05:00
parent db989bb798
commit 10db16022c
8 changed files with 303 additions and 179 deletions
+6 -6
View File
@@ -1,20 +1,20 @@
services:
bettercap:
image: bettercap/bettercap:latest
container_name: viator-bettercap
container_name: opsbox-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 '${BETTERCAP_UI_ADDR:-${VIATOR_DOCKER_GATEWAY:-172.17.0.1}}';
set api.rest.username '${BETTERCAP_USER:-opsbox}';
set api.rest.password '${BETTERCAP_PASSWORD:?Set BETTERCAP_PASSWORD in opsbox.env}';
set api.rest.address '${BETTERCAP_UI_ADDR:-${OPSBOX_DOCKER_GATEWAY:-172.17.0.1}}';
set api.rest.port ${BETTERCAP_API_PORT:-8081};
set api.rest.alloworigin '${BETTERCAP_ALLOW_ORIGIN:-https://${VIATOR_SUB_BETTERCAP:-bettercap}.${VIATOR_DOMAIN:-viator.internal}}';
set api.rest.alloworigin '${BETTERCAP_ALLOW_ORIGIN:-https://${OPSBOX_SUB_BETTERCAP:-bettercap}.${OPSBOX_DOMAIN:-opsbox.internal}}';
api.rest on;
set ui.address '${BETTERCAP_UI_ADDR:-${VIATOR_DOCKER_GATEWAY:-172.17.0.1}}';
set ui.address '${BETTERCAP_UI_ADDR:-${OPSBOX_DOCKER_GATEWAY:-172.17.0.1}}';
set ui.port ${BETTERCAP_UI_PORT:-1600};
ui on;
set gps.device localhost:2947;
+7 -7
View File
@@ -1,7 +1,7 @@
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:2.9-alpine
container_name: viator-caddy
container_name: opsbox-caddy
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
@@ -9,23 +9,23 @@ services:
- "80:80"
- "443:443"
environment:
CADDY_INGRESS_NETWORKS: viator_proxy
CADDY_INGRESS_NETWORKS: opsbox_proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/caddy/data:/data
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/caddy/config:/config
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/caddy/data:/data
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/caddy/config:/config
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_BETTERCAP:-bettercap}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_BETTERCAP:-bettercap}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: host.docker.internal:${BETTERCAP_UI_PORT:-1600}
caddy.tls: internal
caddy_1: ${VIATOR_SUB_BETTERCAP_API:-api.bettercap}.${VIATOR_DOMAIN:-viator.internal}
caddy_1: ${OPSBOX_SUB_BETTERCAP_API:-api.bettercap}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy_1.reverse_proxy: host.docker.internal:${BETTERCAP_API_PORT:-8081}
caddy_1.tls: internal
networks:
proxy:
external: true
name: viator_proxy
name: opsbox_proxy
+16 -16
View File
@@ -1,24 +1,24 @@
services:
harness:
image: git.zakscode.com/ztimson/ai-harness:latest
container_name: viator-ai-harness
container_name: opsbox-ai-harness
restart: unless-stopped
environment:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
PUBLIC_URL: ${VIATOR_HOST_HARNESS:-${VIATOR_SUB_HARNESS:-home}.${VIATOR_DOMAIN:-viator.internal}}
OFFICE_URL: ${VIATOR_HOST_OFFICE:-${VIATOR_SUB_OFFICE:-office}.${VIATOR_DOMAIN:-viator.internal}}
PUBLIC_URL: ${OPSBOX_HOST_HARNESS:-${OPSBOX_SUB_HARNESS:-home}.${OPSBOX_DOMAIN:-opsbox.internal}}
OFFICE_URL: ${OPSBOX_HOST_OFFICE:-${OPSBOX_SUB_OFFICE:-office}.${OPSBOX_DOMAIN:-opsbox.internal}}
OFFICE_SECRET: ${OFFICE_JWT_SECRET:?Office secret is required}
volumes:
- ${VIATOR_FILES_ROOT:-/mnt}:/mnt
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/models:/models
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/AI:/AI
- ${OPSBOX_FILES_ROOT:-/mnt}:/mnt
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/models:/models
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/AI:/AI
ports:
- "${WEB_BIND:-127.0.0.1}:${HARNESS_PORT:-8082}:80"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_HARNESS:-home}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_HARNESS:-home}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 80}}"
caddy.tls: internal
caddy.reverse_proxy.lb_policy: client_ip_hash
@@ -26,28 +26,28 @@ services:
onlyoffice:
image: onlyoffice/documentserver:latest
container_name: viator-onlyoffice
container_name: opsbox-onlyoffice
restart: unless-stopped
environment:
JWT_ENABLED: "true"
JWT_SECRET: ${OFFICE_JWT_SECRET:?Office secret is required}
volumes:
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/data:/var/www/onlyoffice/Data
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/logs:/var/log/onlyoffice
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/lib:/var/lib/onlyoffice
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/db:/var/lib/postgresql
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/rabbitmq:/var/lib/rabbitmq
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/personal-cloud/office/redis:/var/lib/redis
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/data:/var/www/onlyoffice/Data
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/logs:/var/log/onlyoffice
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/lib:/var/lib/onlyoffice
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/db:/var/lib/postgresql
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/rabbitmq:/var/lib/rabbitmq
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/personal-cloud/office/redis:/var/lib/redis
ports:
- "${WEB_BIND:-127.0.0.1}:${OFFICE_PORT:-8083}:80"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_OFFICE:-office}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_OFFICE:-office}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 80}}"
caddy.tls: internal
networks:
proxy:
external: true
name: viator_proxy
name: opsbox_proxy
+4 -4
View File
@@ -1,24 +1,24 @@
services:
librespeed:
image: lscr.io/linuxserver/librespeed:latest
container_name: viator-librespeed
container_name: opsbox-librespeed
restart: unless-stopped
environment:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
TZ: ${TZ:-Etc/UTC}
volumes:
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/librespeed:/config
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/librespeed:/config
ports:
- "${LIBRESPEED_BIND:-127.0.0.1}:${LIBRESPEED_PORT:-1900}:80"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_SPEEDTEST:-speedtest}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_SPEEDTEST:-speedtest}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 80}}"
caddy.tls: internal
networks:
proxy:
external: true
name: viator_proxy
name: opsbox_proxy
+10 -10
View File
@@ -1,17 +1,17 @@
services:
cartomake:
image: git.zakscode.com/ztimson/cartomake:latest
container_name: viator-cartomake
container_name: opsbox-cartomake
restart: unless-stopped
environment:
TILESERVER_URL: ${VIATOR_HOST_TILES:-${VIATOR_SUB_TILES:-tiles}.${VIATOR_DOMAIN:-viator.internal}}
GEOCODE_URL: ${VIATOR_HOST_GEOCODE:-${VIATOR_SUB_GEOCODE:-geocode}.${VIATOR_DOMAIN:-viator.internal}}
TILESERVER_URL: ${OPSBOX_HOST_TILES:-${OPSBOX_SUB_TILES:-tiles}.${OPSBOX_DOMAIN:-opsbox.internal}}
GEOCODE_URL: ${OPSBOX_HOST_GEOCODE:-${OPSBOX_SUB_GEOCODE:-geocode}.${OPSBOX_DOMAIN:-opsbox.internal}}
ports:
- "${CARTOMAKE_BIND:-127.0.0.1}:${CARTOMAKE_PORT:-8020}:80"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_MAPS:-maps}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_MAPS:-maps}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 80}}"
caddy.tls: internal
@@ -24,13 +24,13 @@ services:
UPDATE_STRATEGY: PARALLEL
UPDATE_INTERVAL: 720h
volumes:
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/geocoder:/photon/data
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/maps/geocoder:/photon/data
ports:
- "${PHOTON_BIND:-127.0.0.1}:${PHOTON_PORT:-8022}:2322"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_GEOCODE:-geocode}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_GEOCODE:-geocode}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 2322}}"
caddy.tls: internal
@@ -41,18 +41,18 @@ services:
profiles: [tiles]
command: ["--config", "/config/config.json"]
volumes:
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tiles:/data
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/maps/tileserver:/config:ro
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/maps/tiles:/data
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/maps/tileserver:/config:ro
ports:
- "${TILESERVER_BIND:-127.0.0.1}:${TILESERVER_PORT:-8021}:8080"
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_TILES:-tiles}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_TILES:-tiles}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 8080}}"
caddy.tls: internal
networks:
proxy:
external: true
name: viator_proxy
name: opsbox_proxy
+6 -6
View File
@@ -1,16 +1,16 @@
services:
openwebrx:
image: ${OPENWEBRX_IMAGE:-slechev/openwebrxplus-softmbe:latest}
container_name: viator-openwebrx
container_name: opsbox-openwebrx
restart: unless-stopped
environment:
TZ: ${TZ:-Etc/UTC}
OPENWEBRX_ADMIN_USER: ${OPENWEBRX_ADMIN_USER:-admin}
OPENWEBRX_ADMIN_PASSWORD: ${OPENWEBRX_ADMIN_PASSWORD:?Set OPENWEBRX_ADMIN_PASSWORD in viator.env}
OPENWEBRX_ADMIN_PASSWORD: ${OPENWEBRX_ADMIN_PASSWORD:?Set OPENWEBRX_ADMIN_PASSWORD in opsbox.env}
volumes:
- /dev/bus/usb:/dev/bus/usb
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/sdr/openwebrx/etc:/etc/openwebrx
- ${VIATOR_DATA_ROOT:?Set VIATOR_DATA_ROOT}/sdr/openwebrx/var:/var/lib/openwebrx
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/sdr/openwebrx/etc:/etc/openwebrx
- ${OPSBOX_DATA_ROOT:?Set OPSBOX_DATA_ROOT}/sdr/openwebrx/var:/var/lib/openwebrx
device_cgroup_rules:
- "c 189:* rmw"
ports:
@@ -18,11 +18,11 @@ services:
networks:
- proxy
labels:
caddy: ${VIATOR_SUB_SDR:-sdr}.${VIATOR_DOMAIN:-viator.internal}
caddy: ${OPSBOX_SUB_SDR:-sdr}.${OPSBOX_DOMAIN:-opsbox.internal}
caddy.reverse_proxy: "{{upstreams 8073}}"
caddy.tls: internal
networks:
proxy:
external: true
name: viator_proxy
name: opsbox_proxy