mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 04:28:01 +00:00
update readme file with docker compose how-to
This commit is contained in:
24
README.md
24
README.md
@@ -14,6 +14,7 @@ Table of contents
|
||||
* [Installation](#installation)
|
||||
* [Docker](#docker)
|
||||
* [On nginx](#on-nginx)
|
||||
* [Docker Compose With Prebuild Image by hascheksolutions](#docker-compose-with-prebuild-image-by-hascheksolutions)
|
||||
* [Why would I want to host my own images?](#why-would-i-want-to-host-my-own-images)
|
||||
* [Features](#features)
|
||||
* [Smart query system](#smart-query-system)
|
||||
@@ -46,6 +47,29 @@ docker run -d -p 80:80 -e "TITLE=My own PictShare" hascheksolutions/pictshare
|
||||
|
||||
[](https://www.pictshare.net/8a1dec0973.mp4)
|
||||
|
||||
### Docker Compose With Prebuild Image by hascheksolutions
|
||||
|
||||
Run container by docker-compose:
|
||||
- First, install docker compose:
|
||||
[Docker official docs](https://docs.docker.com/compose/install/)
|
||||
- Pull docker-compose file:
|
||||
```bash
|
||||
wget https://raw.githubusercontent.com/chrisiaut/pictshare/master/docker-compose.yml
|
||||
```
|
||||
- Edit docker-compose file:
|
||||
```bash
|
||||
vi docker-compose.yml
|
||||
```
|
||||
- Run container by docker-compose:
|
||||
```bash
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
By using this compose file, you should know that:
|
||||
- Will make a directory "volumes" in the same directory where compose file is.
|
||||
- Change `AUTOUPDATE` to false from true by defalt.
|
||||
- And...it is highly recommended to build your own image.
|
||||
|
||||
### Without Docker
|
||||
|
||||
- Make sure you have PHP5 GD libraries installed: ```apt-get install php5-gd```
|
||||
|
||||
Reference in New Issue
Block a user