mirror of
https://github.com/stashapp/Stash-Docs.git
synced 2026-04-13 09:07:06 -05:00
2.1 KiB
2.1 KiB
title, icon
| title | icon |
|---|---|
| Docker | fontawesome/brands/docker |
!!! info Before starting make sure your system has Docker installed. You can follow the instructions on how to install Docker from Docker Docs{:target="_blank"}.
!!! info
Official Stash image is located at stashapp/stash{:target="_blank"}.
!!! note Stash README on Docker installation is available here{:target="_blank"}.
Using Docker Compose
Install
- Download and save
docker-compose.ymlfile from our GitHub{:target="_blank"}.
- Modify the
docker-compose.ymlfile to your preferences.
- Open terminal in the same directory as saved
docker-compose.ymlorcdto that directory. - Run
docker-compose up -d - Installing this way will bound Stash to port 9999.
- If everything went well Stash will be available at http://localhost:9999{:target="_blank"} locally or on your network http://YOUR-LOCAL-IP:9999{:target="_blank"}.
Update
??? warning
If you are upgrading from older than v0.20 version make sure to re-download the docker-compose.yml file from our GitHub{:target="_blank"} as new volume was added. Alternatively you can edit the docker-compose.yml to manually include new volume - ./blobs:/blobs.
- Go to the directory where
docker-compose.ymlis saved. - Run
docker-compose pull. Pulls the new image. - Run
docker-compose down. Removes old container. - Run
docker-compose up -d. Creates and starts the new container.
- Make sure the mount points and settings are the same as in previous
docker-compose.ymlfile.
Remove
- Go to the directory where
docker-compose.ymlis saved. - Run
docker container kill. Force stops the container. - Run
docker container rm. Removes the container. - Delete
docker-compose.ymlfile.