This might be common knowledge at this point, but I still wanted to write it down.Īnd this brings us to the actual subject of this post, I wanted to use named volumes to mount the host directory. This means that they are part of the VAL.
env and docker is the way Docker processes the keys and values, namely there is no special handling of quotation marks. One important thing to note when dealing with. Now you have a little more flexibility, but it is still a lot of moving parts that might have to be changed at some point. # Path inside of container where the application will be mounted, # This var can also be used as workdir value for docker # MAKE SURE THE VALUE IS IN SYNC WITH YOUR NGINX OR APACHE CONFIG
# web specific mounts and settings # Application's path (absolute or relative) # **IMPORTANT** # If you are using docker-sync, the path is relative to the location of this file # if you are NOT using docker-sync, and just docker-compose, # the path is relative to the location of docker-compose.yml