Skip to content

Instantly share code, notes, and snippets.

@pinpox
Created October 20, 2020 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinpox/42c641ea6f3e44ad4c84862667a8002d to your computer and use it in GitHub Desktop.
Save pinpox/42c641ea6f3e44ad4c84862667a8002d to your computer and use it in GitHub Desktop.
virtualisation.oci-containers.containers = {
bitwardenrs = {
autoStart = true;
image = "bitwardenrs/server:latest";
environment = {
DOMAIN = "http://nix.own";
ADMIN_TOKEN = "test";
SIGNUPS_ALLOWED = "true";
INVITATIONS_ALOWED = "true";
};
ports = [
"9999:80"
];
volumes = [
"/var/docker/bitwarden/:/data/"
];
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment