https://github.com/vlauciani/docker-sfpg
https://github.com/vlauciani/docker-sfpg
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vlauciani/docker-sfpg
- Owner: vlauciani
- License: mit
- Created: 2021-12-15T17:24:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T18:08:55.000Z (8 months ago)
- Last Synced: 2025-02-07T14:14:10.954Z (5 months ago)
- Language: Dockerfile
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/vlauciani/docker-sfpg/blob/main/LICENSE)
[](https://hub.docker.com/r/vlauciani/docker-sfpg)

[](https://github.com/vlauciani/docker-sfpg)
[](https://github.com/vlauciani/docker-sfpg/issues)
# docker-sfpg [](https://github.com/vlauciani/docker-sfpg/actions)
This Docker is based on "Single File PHP Gallery" by Kenny Svalgaard:
- https://sye.dk/sfpg/## Quickstart
### Clone the repository
First, clone the git repositry:
```
$ git clone https://github.com/vlauciani/docker-sfpg.git
$ cd docker-sfpg
```### Docker image
To obtain *docker-sfpg* docker image, you have two options:#### 1) Get built image from DockerHub (*preferred*)
Get the last built image from DockerHub repository:
```
$ docker pull vlauciani/docker-sfpg:latest
```#### 2) Build by yourself
```
$ docker build --tag vlauciani/docker-sfpg .
```in case of errors, try:
```
$ docker build --no-cache --pull --tag vlauciani/docker-sfpg .
```### Run docker
Running the command below to see the **help**:
```
$ docker run -p 8080:80 -v /home/myPictures:/var/www/html/images vlauciani/docker-sfpg
```### Test
Check installation with test url:
- http://:8080/sfpg_test.php## Update Docker image from DockerHub
Get last Docker image from DockerHub repository:
```
$ docker pull vlauciani/docker-sfpg
```# Contribute
Thanks to your contributions!Here is a list of users who already contributed to this repository: \
![]()
# Credits
- Tobiaqs: https://github.com/Tobiaqs/sfpg-docker
# Author
(c) 2024 Valentino Lauciani vlauciani[at]gmail.com