Source Code for the Home Server setup. This includes the git server hosting this repository as well. #terraform #docker https://git.captnemo.in/nemo/nebula/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
456 B

2 years ago
  1. module "opml" {
  2. name = "opml"
  3. source = "../modules/container"
  4. image = "captn3m0/opml-gen:latest"
  5. networks = ["${docker_network.opml.id}", "${var.traefik-network-id}"]
  6. web {
  7. expose = true
  8. host = "${var.domain}"
  9. }
  10. env = [
  11. "GITHUB_CLIENT_ID=${var.client-id}",
  12. "GITHUB_CLIENT_SECRET=${var.client-secret}",
  13. "REDIS_URL=redis://opml-redis:6379/1",
  14. ]
  15. resource {
  16. memory = 256
  17. memory_swap = 256
  18. }
  19. }