aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-04-19 15:20:49 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-04-19 15:20:49 +0200
commit57aa2ce1d22dfe7963afdfc1908ae2ba60184dcb (patch)
tree400e9dca5c392b828d1452ff38b8816877f95d64 /cluster/prod
parenta614f495ad25adc180a30c8cdc5dadc4f11aa3a6 (diff)
downloadnixcfg-57aa2ce1d22dfe7963afdfc1908ae2ba60184dcb.tar.gz
nixcfg-57aa2ce1d22dfe7963afdfc1908ae2ba60184dcb.zip
interface gestion site web guichet
Diffstat (limited to 'cluster/prod')
-rw-r--r--cluster/prod/app/guichet/config/guichet/config.json.tpl3
-rw-r--r--cluster/prod/app/guichet/deploy/directory.hcl2
2 files changed, 4 insertions, 1 deletions
diff --git a/cluster/prod/app/guichet/config/guichet/config.json.tpl b/cluster/prod/app/guichet/config/guichet/config.json.tpl
index 467c92d..51c119c 100644
--- a/cluster/prod/app/guichet/config/guichet/config.json.tpl
+++ b/cluster/prod/app/guichet/config/guichet/config.json.tpl
@@ -28,6 +28,9 @@
"group_can_admin": "cn=admin,ou=groups,{{ key "secrets/directory/ldap_base_dn" }}",
"group_can_invite": "cn=asso_deuxfleurs,ou=groups,{{ key "secrets/directory/ldap_base_dn" }}",
+ "s3_admin_endpoint": "garage-admin.service.prod.consul:3903",
+ "s3_admin_token": "{{ key "secrets/garage/admin_token" | trimSpace }}",
+
"s3_endpoint": "{{ key "secrets/directory/guichet/s3_endpoint" }}",
"s3_access_key": "{{ key "secrets/directory/guichet/s3_access_key" | trimSpace }}",
"s3_secret_key": "{{ key "secrets/directory/guichet/s3_secret_key" | trimSpace }}",
diff --git a/cluster/prod/app/guichet/deploy/directory.hcl b/cluster/prod/app/guichet/deploy/directory.hcl
index 7e445ae..a64b7e6 100644
--- a/cluster/prod/app/guichet/deploy/directory.hcl
+++ b/cluster/prod/app/guichet/deploy/directory.hcl
@@ -13,7 +13,7 @@ job "guichet" {
task "guichet" {
driver = "docker"
config {
- image = "dxflrs/guichet:17"
+ image = "dxflrs/guichet:18"
readonly_rootfs = true
ports = [ "web_port" ]
volumes = [