8000 Interest in Docker image · Issue #79 · mholt/timeliner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Interest in Docker image #79
Open
Open
@tbekolay

Description

@tbekolay

Hi, thanks for the interesting project @mholt! As I'm not a go developer, I wrote up some simple docker things to get this running for me locally without making a full go dev environment. In case it helps anyone else, here they are:

Dockerfile

# syntax=docker/dockerfile:1

FROM golang:1.17

WORKDIR /usr/src/app

COPY go.mod go.sum ./
RUN go mod download && go mod verify

COPY . .
RUN go build -v -o /usr/local/bin ./...

ENTRYPOINT ["timeliner", "-repo", "/repo"]

docker-compose.yml

version: "3.5"
services:
  timeliner:
    build: .
    network_mode: "host"
    user: 1000:1000
    volumes:
      - /media/external/Timeliner:/repo

Usage

  1. Set up the desired repo path somewhere (I used /media/external/Timeliner above) and edit docker-compose.yml to match.
  2. Set up timeliner.toml in the timerliner directory.
  3. Use docker-compose run timeliner to run timeliner commands.

If you're running this on a home server, as I am, you can go through the OAuth flow as normal by using a local port forward (e.g. ssh -L 8008:localhost:8008 my-server).


These things are still kind of rough and would need a bit of polishing before they would be worth making them more accessible, but I wanted to first see if there was any interest in cleaning these up to either put them directly in this repository, or put them in a separate repository, and build images that could be deployed to docker hub or some other place that hosts docker images. I did see #69 but that was a year ago so things may have changed since.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0