Skip to content

Simon-Boyer/nixos-swarm-node

Repository files navigation

NixOS Docker Swarm Node Configuration

WIP

Personnal NixOS configuration for a docker swarm node

Configures:

  • Users
  • GlusterFS
  • Docker
  • Auto-upgrades

Steps:

  1. Create a CA certificate/key pair for your GlusterFS cluster, place the certificate as ./certs/glusterfs.ca in each node.
  2. Use the CA to create certficates for each node, and add them as ./certs/glusterfs.pem and ./certs/glusterfs.key in the corresponding nodes.
  3. Edit the node-config.nix files with your values.
  4. Apply the nix configuration
  5. Setup the GlusterFS pools and volumes (see https://docs.gluster.org/en/latest/)
  6. Setup Docker Swarm

About

Personnal NixOS configuration for a docker swarm node

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages