From e249a571cfc261ba25ad28a9b03462125dc72df4 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Wed, 21 Jun 2023 02:28:39 -0700 Subject: [PATCH] add status proxy service + tweaks --- .gitignore | 1 + cuddlefish/docker-compose.yaml | 2 +- rocktiplex/docker-compose.yml | 22 ++++++++++++++++++++++ rocktiplex/example.env | 1 + 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 rocktiplex/example.env diff --git a/.gitignore b/.gitignore index 55a58f3..f573a42 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Docker volume mounts */*-data/ +**/*.db # envfiles .env diff --git a/cuddlefish/docker-compose.yaml b/cuddlefish/docker-compose.yaml index 3acf857..bdc4836 100644 --- a/cuddlefish/docker-compose.yaml +++ b/cuddlefish/docker-compose.yaml @@ -27,7 +27,7 @@ services: container_name: cloudflared-gitea image: cloudflare/cloudflared restart: unless-stopped - command: tunnel run --url http://server:3000 + command: tunnel run environment: - TUNNEL_TOKEN=${GITEA_TUNNEL_TOKEN} networks: diff --git a/rocktiplex/docker-compose.yml b/rocktiplex/docker-compose.yml index d984988..aa614d0 100644 --- a/rocktiplex/docker-compose.yml +++ b/rocktiplex/docker-compose.yml @@ -1,6 +1,11 @@ version: '3' +networks: + status-proxy: + external: false + services: + fathom: image: usefathom/fathom container_name: fathom @@ -12,3 +17,20 @@ services: source: ./fathom.db target: /app/fathom.db + status-proxy: + image: git.michaellisano.com/mcf/status-proxy:latest + container_name: mcf-status-proxy + restart: always + networks: + - status-proxy + + status-proxy-cloudflared: + container_name: cloudflared-mcf-status-proxy + image: cloudflare/cloudflared + restart: unless-stopped + command: tunnel run + environment: + - TUNNEL_TOKEN=${STATUS_PROXY_TUNNEL_TOKEN} + networks: + - status-proxy + diff --git a/rocktiplex/example.env b/rocktiplex/example.env new file mode 100644 index 0000000..31a7cb1 --- /dev/null +++ b/rocktiplex/example.env @@ -0,0 +1 @@ +STATUS_PROXY_TUNNEL_TOKEN=...