From 7720b3463ac5b4c3dc28005d4ef00681e180782d Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Sat, 22 Feb 2025 20:29:05 -0800 Subject: [PATCH] Cleaned up stashapp --- stashapp/README.md | 48 ------------------------------------- stashapp/sample-extends.yml | 6 ----- 2 files changed, 54 deletions(-) delete mode 100644 stashapp/sample-extends.yml diff --git a/stashapp/README.md b/stashapp/README.md index a8d97ae..32992d4 100644 --- a/stashapp/README.md +++ b/stashapp/README.md @@ -9,54 +9,6 @@ This Docker Compose configuration sets up the Stash application using Docker con ## Setup -### COOKBOOK SETUP - -Clone the repository then set the COOKBOOK Variable in your PROJECT's env file -``` -git clone git@github.com:nickyeoman/docker-compose-cookbooks.git -``` - -### Project Setup - -Note this setup is meant to be used between two directories, COOKBOOK and PROJECT. -In your PROJECT directory set the following env file: - -#### Dot env file -```text -# Stash App -PROD=prod.domain.com -PRODDIR=/var/www/stashdomain-com/ #HELP: project_path -COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks -VOL_PATH=/project-dir/project-name/data #HELP: volpath -STASH_IMAGE=stashapp/stash:v0.26.2 - -# Stash Container -STASH_DOMAIN_NAME=stash.4lt.ca -MAX_SIZE=200m -STASH_STASH=/data/ -STASH_GENERATED=/generated/ -STASH_METADATA=/metadata/ -STASH_CACHE=/cache/ -``` - -#### Docker Compose Extend - -Now using extend you can call the service: - -```yaml -version: '3.4' - -services: - stash: - extends: - file: ${COOKBOOK}/stashapp/docker-compose.yml - service: stash - env_file: - - .env - ports: - - "9999:9999" -``` - ### Data directories By default the compose file creates volumes locally in the project: diff --git a/stashapp/sample-extends.yml b/stashapp/sample-extends.yml deleted file mode 100644 index ae03668..0000000 --- a/stashapp/sample-extends.yml +++ /dev/null @@ -1,6 +0,0 @@ -services: - - stashapp: - extends: - file: ${COOKBOOK}/stashapp/docker-compose.yml - service: stashapp