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 # Docker volume mounts
*/*-data/ */*-data/
**/*.db
# envfiles # envfiles
.env .env

View File

@ -27,7 +27,7 @@ services:
container_name: cloudflared-gitea container_name: cloudflared-gitea
image: cloudflare/cloudflared image: cloudflare/cloudflared
restart: unless-stopped restart: unless-stopped
command: tunnel run --url http://server:3000 command: tunnel run
environment: environment:
- TUNNEL_TOKEN=${GITEA_TUNNEL_TOKEN} - TUNNEL_TOKEN=${GITEA_TUNNEL_TOKEN}
networks: networks:

View File

@ -1,6 +1,11 @@
version: '3' version: '3'
networks:
status-proxy:
external: false
services: services:
fathom: fathom:
image: usefathom/fathom image: usefathom/fathom
container_name: fathom container_name: fathom
@ -12,3 +17,20 @@ services:
source: ./fathom.db source: ./fathom.db
target: /app/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=...