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

Add voumes to Dockerfile #321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add voumes to Dockerfile #321

wants to merge 1 commit into from

Conversation

feyst
Copy link

@feyst feyst commented Oct 11, 2024

Docker recommends to mount volumes instead of mounting directories. This is currently not supported by Borgwarehouse. This is due to some ownership issues. This can be solved by a small change in the Dockerfile.

For example:

...
    volumes:
      - config:/home/borgwarehouse/app/config
      - user-ssh:/home/borgwarehouse/.ssh
      - etc-ssh:/etc/ssh
      - repos:/home/borgwarehouse/repos
      - tmp:/home/borgwarehouse/tmp
      - logs:/home/borgwarehouse/logs

volumes:
  config:
  user-ssh:
  etc-ssh:
  repos:
  tmp:
  logs:

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.

1 participant