Skip to content

Commit

Permalink
Update goss.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella authored Nov 16, 2024
1 parent fad1805 commit 4295090
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions apps/bazarr/ci/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/goss-org/goss/master/docs/schema.yaml

process:
python:
running: false
# Check if Python is running, should be true after Bazarr starts
bazarr:
running: true

file:
# Check that the python binary inside the virtual environment exists
/app/bazarr/venv/bin/python3:
exists: true

# Check that the 'unrar' binary exists (installed from the unrar package)
/usr/bin/unrar:
exists: true

port:
6767:
listen: true

http:
# Assuming Bazarr has a health endpoint or default index page
# Replace with an actual URL if Bazarr has a health-check endpoint
url: http://localhost:6767
status: 200
# Optional: To test health more thoroughly, you can check the content
# body_contains: "Bazarr"

docker:
# Make sure the container is up and healthy after starting it
container:
name: bazarr
running: true
healthy: true

0 comments on commit 4295090

Please sign in to comment.