From 37b769491028a86d697e8d18be09b6e0c1046046 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 18 Apr 2023 19:37:51 +0200 Subject: WIP templates --- integration/config/garage.toml | 26 ++++++++++++++++++++++++++ integration/docker-compose.yml | 9 +++++++++ 2 files changed, 35 insertions(+) create mode 100644 integration/config/garage.toml (limited to 'integration') 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" -- cgit v1.2.3