Don't use delegated volumes in Docker

We aren't sure why this option was added; only that it was added with
macos and windows developers in mind.

Since we aren't sure about it, we're using the default `consistent`
option instead.
This commit is contained in:
Javi Martín
2021-12-10 18:35:58 +01:00
parent 1d9d5ef0cb
commit 54eb65b81d

View File

@@ -34,8 +34,8 @@ services:
- "3000:3000" - "3000:3000"
# map our application source code, in full, to the application root of our container # map our application source code, in full, to the application root of our container
volumes: volumes:
- .:/var/www/consul:delegated - .:/var/www/consul
- bundle:/usr/local/bundle:delegated - bundle:/usr/local/bundle
- "$SSH_AUTH_SOCK:/tmp/agent.sock" - "$SSH_AUTH_SOCK:/tmp/agent.sock"
environment: environment:
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD - POSTGRES_PASSWORD=$POSTGRES_PASSWORD