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

caddy-docker-proxy as file server ? #636

Open
accforgithubtest opened this issue Jun 27, 2024 · 1 comment
Open

caddy-docker-proxy as file server ? #636

accforgithubtest opened this issue Jun 27, 2024 · 1 comment

Comments

@accforgithubtest
Copy link

Thank you for this neat project, makes it really easy to set up reverse proxy straight in the docker compose files.

Is it possible to use an existing caddy-docker-proxy reverse proxy as a file server too ?
Assuming I have a bunch of photos and videos in a folder /camera, can I somehow mount this folder and make caddy-docker proxy be both a reverse proxy and a file server ?

[I am not a developer but I learnt docker for self-hosting my home server, so apologies in advance if you have to eli5]

@francislavoie
Copy link
Collaborator

Yes you can. Just add the labels for your file_server to the CDP container itself (as well as the volume mount of course).

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

No branches or pull requests

2 participants