Skip to content

lambdan/timeplayed.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timeplayed.me

Discord bot provided by Oblivionis.

This is essentially a web frontend for it.

Screenshot

Docker Compose

version: "3.7"

volumes:
  oblivionis-postgres:

services:
  oblivionis:
    image: ghcr.io/hamuko/oblivionis:latest
    container_name: oblivionis
    environment:
      DB_HOST: postgres
      DB_NAME: oblivionis
      DB_USER: oblivion
      DB_PASSWORD: oblivion
      TOKEN: - # Discord token
    restart: always
    depends_on:
      - postgres

  postgres:
    image: postgres:17.2
    restart: always
    volumes:
      - oblivionis-postgres:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: oblivion
      POSTGRES_PASSWORD: oblivion
      POSTGRES_DB: oblivionis
    ports:
      - 5432:5432

  web:
    image: playtime-tracker:latest
    ports:
      - 8000:8000
    environment:
      PORT: 8000
      POSTGRES_HOST: postgres
      POSTGRES_PORT: 5432
      POSTGRES_USER: oblivion
      POSTGRES_PASS: oblivion
      POSTGRES_DB: oblivionis
      DISCORD_TOKEN: -