mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
updated info on new docker container source
This commit is contained in:
12
README.md
12
README.md
@@ -28,9 +28,13 @@
|
||||
<img src="https://www.pictshare.net/39928d8239.gif" alt="PictShare demo">
|
||||
</p>
|
||||
|
||||
# [INFO] March '23
|
||||
Since Docker Hub won't allow team Organizations anymore, we moved our images to GitHub Container Registry.
|
||||
So if you want to use the latest version, please use the new image `ghcr.io/hascheksolutions/pictshare` instead of `hascheksolutions/pictshare`
|
||||
|
||||
Table of contents
|
||||
=================
|
||||
* [Quick Start](#quickstart)
|
||||
* [Features](#features)
|
||||
* [Installation](/rtfm/INSTALL.md)
|
||||
* [Configuration](/rtfm/CONFIG.md)
|
||||
@@ -41,6 +45,14 @@ Table of contents
|
||||
|
||||
---
|
||||
|
||||
## Quickstart
|
||||
|
||||
```bash
|
||||
docker run -d -p 8080:80 --name=pictshare ghcr.io/hascheksolutions/pictshare
|
||||
```
|
||||
|
||||
Then open http://localhost:8080 in your browser
|
||||
|
||||
## New Features in v2
|
||||
|
||||
- Added support for external storage
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Docker
|
||||
The fastest way to deploy PictShare is via the [official Docker repo](https://hub.docker.com/r/hascheksolutions/pictshare/)
|
||||
The fastest way to deploy PictShare is via the [official Docker package](https://github.com/HaschekSolutions/pictshare/pkgs/container/pictshare)
|
||||
|
||||
```bash
|
||||
docker run -d -p 80:80 -e "TITLE=My own PictShare" -e "URL=http://localhost/" hascheksolutions/pictshare
|
||||
docker run -d -p 80:80 -e "TITLE=My own PictShare" -e "URL=http://localhost/" ghcr.io/hascheksolutions/pictshare
|
||||
```
|
||||
|
||||
[](https://www.pictshare.net/8a1dec0973.mp4)
|
||||
@@ -11,26 +11,26 @@ docker run -d -p 80:80 -e "TITLE=My own PictShare" -e "URL=http://localhost/" ha
|
||||
|
||||
### Building it
|
||||
```bash
|
||||
docker build -t hascheksolutions/pictshare .
|
||||
docker build -t pictshare .
|
||||
```
|
||||
|
||||
### Quick start
|
||||
```bash
|
||||
docker run -d -p 80:80 --name=pictshare hascheksolutions/pictshare
|
||||
docker run -d -p 80:80 --name=pictshare ghcr.io/hascheksolutions/pictshare
|
||||
```
|
||||
|
||||
### Persistent data
|
||||
```bash
|
||||
mkdir /data/pictshareuploads
|
||||
chown 1000 -R /data/pictshareuploads
|
||||
docker run -d -v /data/pictshareuploads:/var/www/data -p 80:80 --name=pictshare hascheksolutions/pictshare
|
||||
docker run -d -v /data/pictshareuploads:/var/www/data -p 80:80 --name=pictshare ghcr.io/hascheksolutions/pictshare
|
||||
```
|
||||
|
||||
### Persistent data with increased max upload size
|
||||
```bash
|
||||
mkdir /data/pictshareuploads
|
||||
chown 1000 -R /data/pictshareuploads
|
||||
docker run -d -e "MAX_UPLOAD_SIZE=1024" -v /data/pictshareuploads:/var/www/data -p 80:80 --name=pictshare hascheksolutions/pictshare
|
||||
docker run -d -e "MAX_UPLOAD_SIZE=1024" -v /data/pictshareuploads:/var/www/data -p 80:80 --name=pictshare ghcr.io/hascheksolutions/pictshare
|
||||
```
|
||||
|
||||
## ENV Variables
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
PictShare is written to be run on a linux server with PHP 7 and nginx. We tried to support Windows for some time but ever since we started integrating ffmpeg for MP4 hosting we ditched Windows.
|
||||
|
||||
It's highly recommended t hat you use [the official Docker container](https://hub.docker.com/r/hascheksolutions/pictshare) so you don't have to do any manual setup. But if you know what you're doing, you can set it up yourself.
|
||||
It's highly recommended t hat you use [the official Docker container](https://github.com/HaschekSolutions/pictshare/pkgs/container/pictshare) so you don't have to do any manual setup. But if you know what you're doing, you can set it up yourself.
|
||||
|
||||
- Make sure you have all PHP7 libraries installed (note on some systems the packages are not called php7-* but just php-* also on some systems php7-mbstring is called php7-mb): ```apt-get install php7-exif php7-gd php7-json php7-openssl php7-fileinfo php7-mbstring php7-mcrypt```
|
||||
- If you are not using windows, make sure your os have the ```file``` command working: ```apt-get install file```
|
||||
|
||||
Reference in New Issue
Block a user