trash
fedilink

You’d need to post your complete docker-compose.yaml, otherwise nobody knows what you’re doing.

Also (and I don’t want to sound rude) you should probably start learning docker with a less critical service. If you just learned how volumes work you should not store your passwords in one. Yet.

moddy
creator
link
fedilink
English
11Y

No problem. I use vaultwarden for years. In this case I am not really worried about data-loss because bitwarden keeps an copy of your credentials offline. So in the worst case, i can export them.

I would like to post it, but i have issues with formatting. voyager does not have this “code-format” and writes everything in one line.

Is there a workaround?

obosob
link
fedilink
English
1
edit-2
1Y

You just use three backticks to start and end a code block, it’s just markdown.

e.g.

version: '3.4' 
  
services:
   vaultwarden: 
     image: vaultwarden/server:latest 
     restart: always 
     # environment: 
     #   SIGNUPS_ALLOWED: 'false' 
     #   ADMIN_TOKEN: 'your authentication token' 
     ports: 
       - '127.0.0.1:8200:80' 
     volumes: 
       - vaultwarden-data:/data/ 
...
moddy
creator
link
fedilink
English
11Y

That’s it. Nice. I tried ’ instead of `, so the 2nd useful thing i learnd today. Thanks.

Create a post

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:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 126 users / day
  • 421 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog