aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-04-18 19:37:51 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-04-18 19:37:51 +0200
commit37b769491028a86d697e8d18be09b6e0c1046046 (patch)
tree04c874f3b82afd81f2c9b27fd4b164e46711ce98 /integration
parent02670ba6a60af8db1818d6d3adaafc7810d14689 (diff)
downloadguichet-37b769491028a86d697e8d18be09b6e0c1046046.tar.gz
guichet-37b769491028a86d697e8d18be09b6e0c1046046.zip
WIP templates
Diffstat (limited to 'integration')
-rw-r--r--integration/config/garage.toml26
-rw-r--r--integration/docker-compose.yml9
2 files changed, 35 insertions, 0 deletions
diff --git a/integration/config/garage.toml b/integration/config/garage.toml
new file mode 100644
index 0000000..5748c34
--- /dev/null
+++ b/integration/config/garage.toml
@@ -0,0 +1,26 @@
+metadata_dir = "/tmp/meta"
+data_dir = "/tmp/data"
+db_engine = "lmdb"
+
+replication_mode = "none"
+
+rpc_bind_addr = "[::]:3901"
+rpc_public_addr = "127.0.0.1:3901"
+rpc_secret = "93086c2378eecea1cc9e83ee0554a8c510359215168774a396dcb5a01f88dd79"
+
+[s3_api]
+s3_region = "garage"
+api_bind_addr = "[::]:3900"
+root_domain = ".s3.garage.localhost"
+
+[s3_web]
+bind_addr = "[::]:3902"
+root_domain = ".web.garage.localhost"
+index = "index.html"
+
+[k2v_api]
+api_bind_addr = "[::]:3904"
+
+[admin]
+api_bind_addr = "0.0.0.0:3903"
+admin_token = "GlXP43PWH3LuvEGSNxKYzZCyUss8VqZmarBU+HUlrxw="
diff --git a/integration/docker-compose.yml b/integration/docker-compose.yml
index 6331737..cf1c088 100644
--- a/integration/docker-compose.yml
+++ b/integration/docker-compose.yml
@@ -14,3 +14,12 @@ services:
- "389:389"
volumes:
- "./config/bottin.json:/etc/bottin.json"
+ garage:
+ image: dxflrs/garage:v0.8.2
+ ports:
+ - "3900:3900"
+ - "3902:3902"
+ - "3903:3903"
+ - "3904:3904"
+ volumes:
+ - "./config/garage.toml:/etc/garage.toml"