add status proxy service + tweaks

master
michael 2023-06-21 02:28:39 -07:00
parent ccf5c85e2e
commit e249a571cf
4 changed files with 25 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Docker volume mounts
*/*-data/
**/*.db
# envfiles
.env

View File

@ -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:

View File

@ -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

1
rocktiplex/example.env Normal file
View File

@ -0,0 +1 @@
STATUS_PROXY_TUNNEL_TOKEN=...