Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/treehouses/rpi-seafile
https://github.com/treehouses/rpi-seafile
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/treehouses/rpi-seafile
- Owner: treehouses
- License: gpl-3.0
- Created: 2020-02-20T04:46:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T03:22:23.000Z (about 4 years ago)
- Last Synced: 2023-02-28T13:31:46.375Z (almost 2 years ago)
- Language: Shell
- Size: 58.6 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Seafile for raspberry pi
## Basic information
I refer a Dockerimage: https://github.com/yuriteixeira/rpi-seafile
Fortunately, this Docker image can be used without any modification.
However, the very base image of this seafile image is Rasbian wheezy, so we cannot change the Dockerfile of the image at all.
Therefore. I built the base emage: pythyon-rpi from resin/rasbian:stretchThis Dockerfile can download the latest seafile server images for Raspberry Pi.
## Deploy Service
```
docker run -e SEAFILE_NAME=Seaflail
-e SEAFILE_ADDRESS=[ip address/onion address/domain name]
-e SEAFILE_ADMIN=[email address]
-e SEAFILE_ADMIN_PW=[password]
-v /home/data/seafile:/seafile
-p 8000:8000 -p 8082:8082 hirotochigi/seafile-rpi
```## How to make image
1. Build base image
The base image of Dockerfile is in python directory
Name the base image as "rpi-python:stretch1. Build Seafile image
The Seafile image of Dockerfile is in seafile directory.After building the seafile image out of the Dockerfile, spawn the container following command
```
docker run -e SEAFILE_NAME=Seaflail
-e SEAFILE_ADDRESS=[your onion address]
-e SEAFILE_ADMIN=[email address]
-e SEAFILE_ADMIN_PW=[password]
-v /home/data/seafile:/seafile
-p 8000:8000 -p 8082:8082 [image name]
```