From 5fedf61d70a5f3a0b9429316ba2a9af545a49a56 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 1 Mar 2026 00:51:07 +0100 Subject: [PATCH] build --- __swarm/authentik/.env | 2 +- hashicorp/docker-compose.yml | 47 +++++++++++++++++++++++++++++++++++ hashicorp/hashicorp-swarm.yml | 47 +++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 hashicorp/docker-compose.yml create mode 100644 hashicorp/hashicorp-swarm.yml diff --git a/__swarm/authentik/.env b/__swarm/authentik/.env index 90c81a0..2abbba6 100755 --- a/__swarm/authentik/.env +++ b/__swarm/authentik/.env @@ -3,7 +3,7 @@ PG_USER=authentik PG_DB=authentik AUTHENTIK_SECRET_KEY=ZKkVCxj8kKj5ZklvzxKG2IgYQOftDoLPRjc57yomr1qzbKEQVZ AUTHENTIK_ERROR_REPORTING__ENABLED=true -AUTHENTIK_TAG=2025.10.2 +AUTHENTIK_TAG=2025.10.4 POSTGRES_PASSWORD=499NU6Ze5HcJK4IwSShO8oDbj3j0i0CalyEzfgEp POSTGRES_USER=authentik POSTGRES_DB=authentik diff --git a/hashicorp/docker-compose.yml b/hashicorp/docker-compose.yml new file mode 100644 index 0000000..f2e3058 --- /dev/null +++ b/hashicorp/docker-compose.yml @@ -0,0 +1,47 @@ +services: + vault: + image: hashicorp/vault:latest + command: server -config=/vault/config/vault.hcl + volumes: + - data:/vault/data + configs: + - source: vault_hcl + target: /vault/config/vault.hcl + ports: + - "8200:8200" + environment: + VAULT_LOCAL_CONFIG: | + { + "backend": { + "file": { + "path": "/vault/file" + } + }, + "listener": { + "tcp": { + "address": "0.0.0.0:8200", + "tls_disable": 1 + } + }, + "disable_mlock": true + } + VAULT_API_ADDR: "http://192.168.77.101:8200" + cap_add: + - IPC_LOCK + networks: + - vault-net + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.role == manager + +configs: + vault_hcl: + external: true +volumes: + data: +networks: + vault-net: + driver: overlay \ No newline at end of file diff --git a/hashicorp/hashicorp-swarm.yml b/hashicorp/hashicorp-swarm.yml new file mode 100644 index 0000000..f2e3058 --- /dev/null +++ b/hashicorp/hashicorp-swarm.yml @@ -0,0 +1,47 @@ +services: + vault: + image: hashicorp/vault:latest + command: server -config=/vault/config/vault.hcl + volumes: + - data:/vault/data + configs: + - source: vault_hcl + target: /vault/config/vault.hcl + ports: + - "8200:8200" + environment: + VAULT_LOCAL_CONFIG: | + { + "backend": { + "file": { + "path": "/vault/file" + } + }, + "listener": { + "tcp": { + "address": "0.0.0.0:8200", + "tls_disable": 1 + } + }, + "disable_mlock": true + } + VAULT_API_ADDR: "http://192.168.77.101:8200" + cap_add: + - IPC_LOCK + networks: + - vault-net + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.role == manager + +configs: + vault_hcl: + external: true +volumes: + data: +networks: + vault-net: + driver: overlay \ No newline at end of file