gobee

command module
v0.0.0-...-b185ea6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

README

Gobee

Gobee is a personal medias storage. It use mongoDB GridFS to store your files.

Requirements:

mongoDB

Installation

Install mongodb on a dedicated server. The easiest way is to use docker, attention, on raspberry pi 3 you must install a 64 bit Linux distribution like archlinux arm (see AArch64 Installation) :

docker run --name mongodb -p 27017:27017 -v /your_docker_volumes/mongodb:/data/db -d mongo

Create database and admin user :

docker exec -it mongodb bash
mongo
use gobee
db.createUser(
    {
      user: "gobee",
      pwd: "pass",
      roles: [
         { role: "userAdmin", db: "gobee" }
      ]
    }
)

test connection :

mongo gobee -u gobee -pPASS

Compilation

go build gobee.go

Launch

copy gobee.toml.example to gobee.toml and modify according your config. Then start gobee and open a browser to http://localhost:1323

Docker

just launch docker compose up -d and open a browser to http://localhost:8080 login and password are gobee

Screenshot

media list

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL