-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddb8079
commit 8b9e789
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
services: | ||
scriberr: | ||
# image: ghcr.io/rishikanthc/scriberr:nightly | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
depends_on: | ||
redis: | ||
condition: service_started | ||
pocketbase: | ||
condition: service_started | ||
|
||
ports: | ||
- "3000:3000" | ||
- "9243:9243" # Optionally expose JobQueue UI | ||
environment: | ||
- OPENAI_API_KEY=<reallylongsecretkey> | ||
- OPENAI_ENDPOINT=http://ollama:11434/v1 | ||
- OPENAI_MODEL=llama3.2 # Ensure this model matches in `ollama-models` service | ||
- OPENAI_ROLE=user | ||
- [email protected] | ||
- POCKETBASE_ADMIN_PASSWORD=1234567890 | ||
- POCKETBASE_URL=http://pocketbase:8080 | ||
- REDIS_HOST=redis | ||
- REDIS_PORT=6379 | ||
- SCRIBO_FILES=/scriberr | ||
- DEV_MODE=false | ||
volumes: | ||
- ./scriberr/pb_data:/app/db | ||
- ./scriberr:/scriberr | ||
- ./scriberr/models:/models | ||
|
||
redis: | ||
image: redis:7-alpine | ||
volumes: | ||
- ./.dockerdata/redis:/data | ||
|
||
pocketbase: | ||
image: ghcr.io/rishikanthc/pocketbase:22.22 | ||
environment: | ||
- [email protected] # Replace with your admin email | ||
- POCKETBASE_ADMIN_PASSWORD=1234567890 # Replace with your admin password | ||
ports: | ||
- "8080:8080" # Expose PocketBase on port 8080 | ||
volumes: | ||
- ./pb_data:/pb/pb_data # Mount the PocketBase data directory for persistence | ||
restart: unless-stopped # Always restart unless explicitly stopped | ||
|
||
|