Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions Docker/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
services:

#
# Less3
# See https://hub.docker.com/r/jchristn/less3
# and https://github.com/jchristn/less3
#

litegraph:
container_name: 'less3'
image: 'jchristn/less3:v2.1.11'
network_mode: 'host'
stdin_open: true
tty: true
volumes:
- ./system.json:/app/system.json
- ./less3.db:/app/less3.db
- ./logs/:/app/logs/
- ./temp/:/app/temp/
- ./disk/:/app/disk/
healthcheck:
test: curl --fail http://localhost:8000
services:
#
# Less3
# See https://hub.docker.com/r/jchristn77/less3
# and https://github.com/jchristn/less3
#
litegraph:
container_name: 'less3'
image: 'jchristn77/less3:v2.1.11'
network_mode: 'host'
stdin_open: true
tty: true
volumes:
- ./system.json:/app/system.json
- ./less3.db:/app/less3.db
- ./logs/:/app/logs/
- ./temp/:/app/temp/
- ./disk/:/app/disk/
healthcheck:
test: curl --fail http://localhost:8000
74 changes: 37 additions & 37 deletions Docker/run.bat
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
@echo off

IF "%1" == "" GOTO :Usage

if not exist system.json (
echo Configuration file system.json not found.
exit /b 1
)

REM Items that require persistence
REM system.json
REM less3.db
REM logs/
REM temp/
REM disk/

REM Argument order matters!

docker run ^
-p 8000:8000 ^
-t ^
-i ^
-e "TERM=xterm-256color" ^
-v .\system.json:/app/system.json ^
-v .\less3.db:/app/less3.db ^
-v .\logs\:/app/logs/ ^
-v .\temp\:/app/temp/ ^
-v .\disk\:/app/disk/ ^
jchristn/less3:%1

GOTO :Done

:Usage
ECHO Provide one argument indicating the tag.
ECHO Example: dockerrun.bat v2.1.11
:Done
@echo on
@echo off
IF "%1" == "" GOTO :Usage
if not exist system.json (
echo Configuration file system.json not found.
exit /b 1
)
REM Items that require persistence
REM system.json
REM less3.db
REM logs/
REM temp/
REM disk/
REM Argument order matters!
docker run ^
-p 8000:8000 ^
-t ^
-i ^
-e "TERM=xterm-256color" ^
-v .\system.json:/app/system.json ^
-v .\less3.db:/app/less3.db ^
-v .\logs\:/app/logs/ ^
-v .\temp\:/app/temp/ ^
-v .\disk\:/app/disk/ ^
jchristn77/less3:%1
GOTO :Done
:Usage
ECHO Provide one argument indicating the tag.
ECHO Example: dockerrun.bat v2.1.11
:Done
@echo on
66 changes: 33 additions & 33 deletions Docker/run.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
if [ -z "${IMG_TAG}" ]; then
IMG_TAG='v2.1.11'
fi

echo Using image tag $IMG_TAG

if [ ! -f "system.json" ]
then
echo Configuration file system.json not found.
exit
fi

# Items that require persistence
# system.json
# less3.db
# logs/
# temp/
# disk/

# Argument order matters!

docker run \
-p 8000:8000 \
-t \
-i \
-e "TERM=xterm-256color" \
-v ./system.json:/app/system.json \
-v ./less3.db:/app/less3.db \
-v ./logs/:/app/logs/ \
-v ./temp/:/app/temp/ \
-v ./disk/:/app/disk/ \
jchristn/less3:$IMG_TAG

if [ -z "${IMG_TAG}" ]; then
IMG_TAG='v2.1.11'
fi
echo Using image tag $IMG_TAG
if [ ! -f "system.json" ]
then
echo Configuration file system.json not found.
exit
fi
# Items that require persistence
# system.json
# less3.db
# logs/
# temp/
# disk/
# Argument order matters!
docker run \
-p 8000:8000 \
-t \
-i \
-e "TERM=xterm-256color" \
-v ./system.json:/app/system.json \
-v ./less3.db:/app/less3.db \
-v ./logs/:/app/logs/ \
-v ./temp/:/app/temp/ \
-v ./disk/:/app/disk/ \
jchristn77/less3:$IMG_TAG
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
![alt tag](https://github.com/jchristn/less3/blob/master/assets/logo.png)
![alt tag](https://github.com/jchristn/less3/blob/main/assets/logo.png)

# Less3 :: S3-Compatible Object Storage

Less3 is an S3-compatible object storage platform that you can run anywhere.

![alt tag](https://github.com/jchristn/less3/blob/master/assets/diagram.png)
![alt tag](https://github.com/jchristn/less3/blob/main/assets/diagram.png)

## Use Cases

Expand Down Expand Up @@ -254,7 +254,7 @@ Less3 is built using a series of open-source packages, including:

## Docker Deployment

Less3 is available on [DockerHub](https://hub.docker.com/r/jchristn/less3).
Less3 is available on [DockerHub](https://hub.docker.com/r/jchristn77/less3).

### Quick Start with Docker Compose

Expand Down
2 changes: 1 addition & 1 deletion dashboard/Dockerbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
IF "%1" == "" GOTO :Usage
ECHO.
ECHO Building for linux/amd64 and linux/arm64/v8...
docker buildx build -f Dockerfile --builder cloud-viewio-assistant-builder --platform linux/amd64,linux/arm64/v8 --tag jchristn/less3-ui:%1 --push .
docker buildx build -f Dockerfile --builder cloud-jchristn77-jchristn77 --platform linux/amd64,linux/arm64/v8 --tag jchristn77/less3-ui:%1 --tag jchristn77/less3-ui:latest --push .
GOTO :Done

:Usage
Expand Down
2 changes: 1 addition & 1 deletion dashboard/Dockerrun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker run ^
-t ^
-i ^
-e "TERM=xterm-256color" ^
jchristn/less3-ui:%1
jchristn77/less3-ui:%1

GOTO :Done

Expand Down
2 changes: 1 addition & 1 deletion dashboard/Dockerrun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ docker run \
-t \
-i \
-e "TERM=xterm-256color" \
jchristn/less3-ui:$IMG_TAG
jchristn77/less3-ui:$IMG_TAG
2 changes: 1 addition & 1 deletion dashboard/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="public/assets/logo.png" height="48">
<img src="https://github.com/jchristn/Less3/blob/main/assets/logo.png?raw=true" height="128">

# Less3 UI

Expand Down
32 changes: 16 additions & 16 deletions src/build-docker.bat
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
@ECHO OFF
IF "%1" == "" GOTO :Usage
ECHO.
ECHO Building for linux/amd64 and linux/arm64/v8...
docker buildx build -f Less3\Dockerfile --builder cloud-viewio-assistant-builder --platform linux/amd64,linux/arm64/v8 --tag jchristn/less3:%1 --push .
GOTO :Done

:Usage
ECHO.
ECHO Provide an argument specifying the version or tag.
ECHO Example: dockerbuild.bat v2.1.12

:Done
ECHO.
ECHO Done
@ECHO ON
@ECHO OFF
IF "%1" == "" GOTO :Usage
ECHO.
ECHO Building for linux/amd64 and linux/arm64/v8...
docker buildx build -f Less3\Dockerfile --builder cloud-jchristn77-jchristn77 --platform linux/amd64,linux/arm64/v8 --tag jchristn77/less3:%1 --tag jchristn77/less3:latest --push .
GOTO :Done
:Usage
ECHO.
ECHO Provide an argument specifying the version or tag.
ECHO Example: dockerbuild.bat v2.1.12
:Done
ECHO.
ECHO Done
@ECHO ON