152 lines
4.0 KiB
YAML
152 lines
4.0 KiB
YAML
version: '3'
|
|
|
|
networks:
|
|
status-proxy:
|
|
external: false
|
|
fathom:
|
|
external: false
|
|
rsf-analytics:
|
|
external: false
|
|
ytpod:
|
|
external: false
|
|
reader:
|
|
external: false
|
|
|
|
services:
|
|
|
|
# ============================================
|
|
# FATHOM ANALYTICS
|
|
# ============================================
|
|
|
|
fathom: # HTTP - port 8080
|
|
image: usefathom/fathom
|
|
container_name: fathom
|
|
# restart: always
|
|
volumes:
|
|
- ./storage:/storage
|
|
# - type: bind
|
|
# source: ./fathom.db
|
|
# target: /app/fathom.db
|
|
networks:
|
|
- fathom
|
|
environment:
|
|
- FATHOM_DATABASE_NAME=/storage/fathom.db
|
|
|
|
fathom-cloudflared:
|
|
container_name: cloudflared-fathom
|
|
image: cloudflare/cloudflared
|
|
restart: unless-stopped
|
|
command: tunnel run
|
|
environment:
|
|
- TUNNEL_TOKEN=${FATHOM_TUNNEL_TOKEN}
|
|
networks:
|
|
- fathom
|
|
|
|
# ============================================
|
|
# STATUS PROXY
|
|
# ============================================
|
|
|
|
status-proxy: # HTTP - port 8080
|
|
image: git.michaellisano.com/mcf/status-proxy:latest
|
|
container_name: mcf-status-proxy
|
|
restart: always
|
|
networks:
|
|
- status-proxy
|
|
environment:
|
|
- ALLOWED_ORIGINS=*
|
|
|
|
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
|
|
|
|
# ============================================
|
|
# RSF ANALYTICS
|
|
# ============================================
|
|
|
|
rsf-analytics: # HTTP - port 8000
|
|
image: ghcr.io/turtlebasket/rsf-analytics:latest
|
|
container_name: rsf-analytics
|
|
restart: always
|
|
networks:
|
|
- rsf-analytics
|
|
environment:
|
|
- API_URL=${RSF_DENSITY_API_URL}
|
|
- SPACE_ID=${RSF_DENSITY_SPACE_ID}
|
|
- API_TOKEN=${RSF_DENSITY_API_TOKEN}
|
|
- ADMIN_KEY=${RSF_ADMIN_KEY}
|
|
- FATHOM_HOST=${RSF_FATHOM_HOST}
|
|
- FATHOM_SITE_ID=${RSF_FATHOM_SITE_ID}
|
|
volumes:
|
|
- ./rsf-data:/app/static
|
|
|
|
rsf-analytics-cloudflared:
|
|
container_name: cloudflared-rsf-analytics
|
|
image: cloudflare/cloudflared
|
|
restart: unless-stopped
|
|
command: tunnel run
|
|
environment:
|
|
- TUNNEL_TOKEN=${RSF_TUNNEL_TOKEN}
|
|
networks:
|
|
- rsf-analytics
|
|
|
|
# ============================================
|
|
# YTPOD
|
|
# ============================================
|
|
|
|
ytpod: # HTTP - port 8080
|
|
image: ghcr.io/turtlebasket/ytpod:latest
|
|
container_name: ytpod
|
|
restart: always
|
|
environment:
|
|
- YTPOD_URL=${YTPOD_URL}
|
|
networks:
|
|
- ytpod
|
|
|
|
ytpod-cloudflared:
|
|
container_name: cloudflared-ytpod
|
|
image: cloudflare/cloudflared
|
|
restart: unless-stopped
|
|
command: tunnel run
|
|
environment:
|
|
- TUNNEL_TOKEN=${YTPOD_TUNNEL_TOKEN}
|
|
networks:
|
|
- ytpod
|
|
|
|
|
|
# ============================================
|
|
# RSS READER
|
|
# ============================================
|
|
|
|
# reader-postgres:
|
|
# image: postgres:9.5-alpine
|
|
# restart: always
|
|
# volumes:
|
|
# - ~/stringer:/var/lib/postgresql/data
|
|
# environment:
|
|
# - POSTGRES_PASSWORD=${READER_POSTGRES_PASS}
|
|
# - POSTGRES_USER=postgres
|
|
# - POSTGRES_DB=stringer
|
|
#
|
|
# reader-web:
|
|
# image: mockdeep/stringer
|
|
# build: .
|
|
# depends_on:
|
|
# - postgres
|
|
# restart: always
|
|
# ports:
|
|
# - 80:8080
|
|
# environment:
|
|
# - SECRET_KEY_BASE=${READER_SECRET_KEY_BASE}
|
|
# - ENCRYPTION_PRIMARY_KEY=${READER_ENCRYPTION_PRIMARY_KEY}
|
|
# - ENCRYPTION_DETERMINISTIC_KEY=${READER_ENCRYPTION_DETERMINISTIC_KEY}
|
|
# - ENCRYPTION_KEY_DERIVATION_SALT=${READER_ENCRYPTION_KEY_DERIVATION_SALT}
|
|
# - PORT=${READER_PORT}
|
|
# - DATABASE_URL=postgres://postgres:${READER_POSTGRES_PASS}@reader-postgres:5432/stringer
|
|
|