Sign inSign up

adampresley/streaming-tracker

By adampresley

•Updated 8 months ago

Streaming Tracker is an application designed for my family to keep track of who is streaming what.

Image
Content management system
0

972

adampresley/streaming-tracker repository overview

⁠Streaming Tracker

Streaming Tracker is an application designed for my family to keep track of who is streaming what. It also allows me to keep a watchlist of upcoming shows and those recommended by friends. This application is written in Go and uses SQLite.

Github⁠

⁠Using Docker Compose

First, create a file named .env. Here is a sample .env file.

DATA_MIGRATION_DIR**: ./sql-migrations"
DSN="host=localhost dbname=streamingtracker user=streamingtracker password=password port=5432 sslmode=disable"
EMAIL_FROM="Me <[email protected]>"
HOST="0.0.0.0:8080"
LOG_LEVEL="info"
PAGE_SIZE="15"
QUERY_TIMEOUT="10s"
SESSION_SECRET="password"
TLD="http://localhost:8080"
TVMAZE_BASE_URL="https://api.tvmaze.com"

Then, setup a compose.yml file.

services:
  postgres:
    image: postgres:17.5
    container_name: streaming-tracker-postgres
    restart: unless-stopped
    ports:
      - "5432:5432"
    env_file:
      - ./.env
    volumes:
      - postgres_data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
      interval: 30s
      timeout: 10s
      retries: 3
  streaming-tracker:
    build:
      image: adampresley/streaming-tracker
    env_file:
      - ./.env
    ports:
      - 8080:8080
    depends_on:
      - postgres

volumes:
  postgres_data:

Finally, run it.

docker compose up --build

Access the application at http://localhost:8080

Note: The above configuration is for testing and local development only. It is not secure! DO NOT USE THESE SETTINGS IN A PRODUCTION ENVIRONMENT! You have been warned.

Tag summary

Content type

Image

Digest

sha256:b7f88d8e2…

Size

14.6 MB

Last updated

8 months ago

docker pull adampresley/streaming-tracker