view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I'll try to answer the specific question here about importing data and sandboxing. You wouldn't have to sandbox, but it's a good idea. If we think of a Docker container as an "encapsulated version of the host", then let's say you have:
Service Arunning on your cloudapt-get install -y this that and the otherto run/data/my-stuffService Brunning on your cloudapt-get install -y other stuffto run/data/my-other-stuffIn the cloud, the
Service Adata can be accessed byService B, increasing the attack vector of a leak. In Docker, you could move all your data from the cloud to your server:You're
DockerfileforService Awould be something like:You're
DockerfileforService Bwould be something like:This makes two unique "systems". Now, in your
docker-compose.yml, you could have:This would make everything look just like the cloud since
/local/server/datawould be bind mounted to/datain both containers (services). The proper way would be to isolate:This way each service only has access to the data it needs.
I hand typed this, so forgive any errors, but hope it helps.