aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 08:17:15 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 08:17:15 +0200
commit793cb2d3c20d47f3a74f385c4b9aeadf2e2297b0 (patch)
treebaf4a7c44ae5ec8bd83bbc2e62423b3d78c6d089
parent37a9f6fa54fc8e237ea117d8d0e1480795c5c831 (diff)
downloadguichet-793cb2d3c20d47f3a74f385c4b9aeadf2e2297b0.tar.gz
guichet-793cb2d3c20d47f3a74f385c4b9aeadf2e2297b0.zip
update dev env skeleton
-rw-r--r--config.json.example18
-rw-r--r--integration/docker-compose.yml10
2 files changed, 16 insertions, 12 deletions
diff --git a/config.json.example b/config.json.example
index 1760685..2d40aac 100644
--- a/config.json.example
+++ b/config.json.example
@@ -10,25 +10,23 @@
"invitation_base_dn": "ou=invitations,dc=bottin,dc=eu",
"invitation_name_attr": "cn",
- "invited_mail_format": "{}@example.com",
- "invited_auto_groups": [
- "cn=email,ou=groups,dc=bottin,dc=eu"
- ],
+ "invited_mail_format": "{}@bottin.eu",
+ "invited_auto_groups": [ ],
- "web_address": "http://guichet.localhost:9991",
- "mail_from": "welcome@example.com",
- "smtp_server": "smtp.example.com",
+ "web_address": "http://localhost:9991",
+ "mail_from": "welcome@bottin.eu",
+ "smtp_server": "smtp.bottin.eu",
"smtp_username": "guichet",
"smtp_password": "",
"admin_account": "cn=admin,dc=bottin,dc=eu",
- "group_can_admin": "gid=admin,ou=groups,dc=bottin,dc=eu",
- "group_can_invite": "",
+ "group_can_admin": "cn=admin,ou=groups,dc=bottin,dc=eu",
+ "group_can_invite": "cn=admin,ou=groups,dc=bottin,dc=eu",
"s3_admin_endpoint": "localhost:3903",
"s3_admin_token": "GlXP43PWH3LuvEGSNxKYzZCyUss8VqZmarBU+HUlrxw=",
- "s3_endpoint": "localhost",
+ "s3_endpoint": "localhost:3900",
"s3_access_key": "",
"s3_secret_key": "",
"s3_region": "garage",
diff --git a/integration/docker-compose.yml b/integration/docker-compose.yml
index ec855db..e44a723 100644
--- a/integration/docker-compose.yml
+++ b/integration/docker-compose.yml
@@ -1,11 +1,15 @@
version: '3'
services:
consul:
- image: hashicorp/consul:1.16
+ # sync with nixos stable packages assuming our stack is up to date
+ # https://search.nixos.org/packages?channel=24.05&from=0&size=50&sort=relevance&type=packages&query=consul
+ image: hashicorp/consul:1.18
restart: "always"
expose:
- 8500
bottin:
+ # sync with deuxfleurs/nixcfg/cluster/prod/app/core/deploy/bottin.hcl
+ # to ensure compatibility with prod
image: dxflrs/bottin:7h18i30cckckaahv87d3c86pn4a7q41z
#command: "-config /etc/bottin.json"
restart: "always"
@@ -15,7 +19,9 @@ services:
volumes:
- "./config/bottin.json:/config.json"
garage:
- image: dxflrs/garage:v0.8.2
+ # sync with deuxfleurs/nixcfg/cluster/prod/app/garage/deploy/garage.hcl
+ # to ensure compatibility with prod
+ image: superboum/garage:v1.0.0-rc1-hotfix-red-ftr-wquorum
ports:
- "3900:3900"
- "3902:3902"