Skip to content

Mounting volumes to be optional #5

Description

@nicholasadr

Currently the docker-compose.yml by default will mount the volumes declared in .env file. This proves to be useful for development mode. However for deployment mode, this becomes redundant and unnecessarily pollute the filesystem. Based on docker/compose#3979, it seems that we can have a separate file e.g docker-compose.dev.yml that extends the default compose file. We can mount the volumes in this extended compose file instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions