Skip to content
Permalink
Browse files

delegated docker volumes (#3280)

  • Loading branch information...
cadecairos authored and alanmoo committed May 31, 2019
1 parent 1e460eb commit f3bc575679d021dc3c91110036e437d8ff1e869b
Showing with 4 additions and 4 deletions.
  1. +4 −4 docker-compose.yml
@@ -13,15 +13,15 @@ services:
- CHOKIDAR_USEPOLLING=1
command: npm run watch
volumes:
- .:/app
- node_dependencies:/app/node_modules/
- .:/app:delegated
- node_dependencies:/app/node_modules/:delegated

postgres:
image: postgres:9.6
ports:
- "5432"
volumes:
- postgres_data:/var/lib/postgresql/data/
- postgres_data:/var/lib/postgresql/data/:delegated

backend:
build:
@@ -36,7 +36,7 @@ services:
ports:
- "8000:8000"
volumes:
- .:/app
- .:/app:delegated
depends_on:
- postgres
- watch-static-files

0 comments on commit f3bc575

Please sign in to comment.
You can’t perform that action at this time.