Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .gitignore to ignore anything in /data/ dir #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

guycalledseven
Copy link

Don't know if this even qualifies as PR :) , and if this is acceptable, but I find it very useful to override few services via docker-compose.override.yml to map data dirs from containers to local volumes and put them inside ./data/ And by putting them next ./data/www/ this makes devilbox installations very compact.

eg.

  mysql:
    volumes:
      - ${DEVILBOX_PATH}/data/${MYSQL_SERVER}:/var/lib/mysql:rw${MOUNT_OPTIONS}
    user: mysql
  mongo:
    volumes:
      - ${DEVILBOX_PATH}/data/mongo-${MONGO_SERVER}:/data/db:rw${MOUNT_OPTIONS}

@cytopia cytopia self-assigned this Nov 19, 2022
@cytopia
Copy link
Owner

cytopia commented Nov 19, 2022

This sounds legit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants