aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2023-04-19 13:11:46 +0000
committerQuentin <quentin@dufour.io>2023-04-19 13:11:46 +0000
commit1e75c21b65021da0c3c5a8be9be12114a2327464 (patch)
tree978a49da113a050c60bd8a803e0d641255f82ede /integration
parent02670ba6a60af8db1818d6d3adaafc7810d14689 (diff)
parent83ed187dbc6d1ef5f08d74aa57a7d17e907581c9 (diff)
downloadguichet-1e75c21b65021da0c3c5a8be9be12114a2327464.tar.gz
guichet-1e75c21b65021da0c3c5a8be9be12114a2327464.zip
Merge pull request 'Manage Garage Websites from Guichet' (#19) from website into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/guichet/pulls/19
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"