265d5f4c70
* Bump Go to 1.17, refactor build/x86_64 Dockerfile to make better use of multi-stage * Bump to 1.17 from 1.16 * Bump packr version, provide needed legacy env var * Add apple silicon support, fix macos build chain * Update unused travis ci |
||
---|---|---|
.. | ||
x86_64 | ||
README.md | ||
docker-compose.yml |
README.md
Docker Installation (for most 64-bit GNU/Linux systems)
StashApp is supported on most systems that support Docker and docker-compose. Your OS likely ships with or makes available the necessary packages.
Dependencies
Only docker
and docker-compose
are required. For the most part your understanding of the technologies can be superficial. So long as you can follow commands and are open to reading a bit, you should be fine.
Installation instructions are available below, and if your distrobution's repository ships a current version of docker, you may use that. https://docs.docker.com/engine/install/
Docker
Docker is effectively a cross-platform software package repository. It allows you to ship an entire environment in what's referred to as a container. Containers are intended to hold everything that is needed to run an application from one place to another, making it easy for everyone along the way to reproduce the environment.
The StashApp docker container ships with everything you need to automatically build and run stash, including ffmpeg.
docker-compose
Docker Compose lets you specify how and where to run your containers, and to manage their environment. The docker-compose.yml file in this folder gets you a fully working instance of StashApp exactly as you would need it to have a reasonable instance for testing / developing on. If you are deploying a live instance for production, a reverse proxy (such as NGINX or Traefik) is recommended, but not required.
The latest version is always recommended.
Get the docker-compose.yml file
Now you can either navigate to the docker-compose.yml in the repository, or if you have curl, you can make your Linux console do it for you:
mkdir stashapp && cd stashapp
curl -o docker-compose.yml https://raw.githubusercontent.com/stashapp/stash/master/docker/production/docker-compose.yml
Once you have that file where you want it, modify the settings as you please, and then run:
docker-compose up -d
Installing StashApp this way will by default bind stash to port 9999. This is available in your web browser locally at http://localhost:9999 or on your network as http://YOUR-LOCAL-IP:9999
Good luck and have fun!