Skip to content

Commit

Permalink
fix: use cached volumes to fix performance on macOS
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Kyle Clemens committed Jul 12, 2018
1 parent a4a7cf5 commit 4cd671d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ version: '3'
services:
backend:
build: run
command: /run.sh --release --verbose
command: /run.sh --release
restart: unless-stopped
volumes:
- "../:/paste"
- "./run/.cargo/registry:/root/.cargo/registry"
- "./run/.cargo/git:/root/.cargo/git"
- "../:/paste:cached"
- "./run/.cargo/registry:/root/.cargo/registry:cached"
- "./run/.cargo/git:/root/.cargo/git:cached"
depends_on:
- postgres
- redis
Expand Down

0 comments on commit 4cd671d

Please sign in to comment.