Skip to content

Commit

Permalink
Use local folder as volume for compose by default
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorgerhardt committed Nov 6, 2024
1 parent 1b7f0cc commit e1b398d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ gradlew
# IntelliJ IDEA
.idea/

# Compose Volumes
compose

logs
project/project
project/target
Expand Down
2 changes: 1 addition & 1 deletion analysis.properties.docker
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ access-control-allow-origin=http://localhost:3000

# A temporary location to store scratch files. The path can be absolute or relative.
# This allows you to locate temporary storage on an extra drive in case your main drive does not have enough space.
local-cache=/app/cache
local-cache=/app/files

# Java threads for lighter async operations
light-threads=3
Expand Down
8 changes: 2 additions & 6 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
mongo:
image: mongo:7.0
volumes:
- mongo:/data/db:rw
- ./compose/mongo:/data/db:rw
ports:
- "27017:27017"

Expand All @@ -14,7 +14,7 @@ services:
ports:
- "7070:7070"
volumes:
- files:/app/cache
- ./compose/files:/app/files

ui:
build: ../ui
Expand All @@ -25,7 +25,3 @@ services:
depends_on:
- r5
- mongo

volumes:
mongo:
files:

0 comments on commit e1b398d

Please sign in to comment.