Files
pictshare/rtfm/DOCKER.md
2018-12-27 18:54:07 +01:00

1.1 KiB

Docker

The fastest way to deploy PictShare is via the official Docker repo

docker run -d -p 80:80 -e "TITLE=My own PictShare" -e "URL=http://localhost/" hascheksolutions/pictshare

Docker setup

Docker Compose With Prebuild Image by hascheksolutions

Run container by docker-compose:

wget https://raw.githubusercontent.com/HaschekSolutions/pictshare/master/docker-compose.yml
  • Edit docker-compose file:
vi docker-compose.yml
  • Run container by docker-compose:
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.