Skip to content

Commit

Permalink
feat(docker): add file storage volume
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Dec 18, 2024
1 parent 9787fe4 commit 81ab183
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ services:
- type: bind
source: models
target: /app/data/models
- type: volume
source: file_storage
target: /app/data/uploads

processor:
container_name: processor_service
Expand Down Expand Up @@ -116,7 +119,7 @@ services:
interval: 120s
timeout: 10s
retries: 5
start_period: 30s
start_period: 20s
networks:
- document-classification
entrypoint: ["/usr/bin/bash", "/app/init-ollama.sh"]
Expand Down Expand Up @@ -144,6 +147,8 @@ services:
volumes:
db:
driver: local
file_storage:
driver: local
ollama_data:
driver: local

Expand Down

0 comments on commit 81ab183

Please sign in to comment.