Adding image to store data

This commit is contained in:
2026-07-22 17:20:37 -04:00
parent 59a7e31641
commit 4b7816e117
2 changed files with 34 additions and 0 deletions
+18
View File
@@ -56,6 +56,22 @@ services:
- auth_db - auth_db
networks: networks:
- soaricarus-network - soaricarus-network
# --- storage service ---
maze:
image: dxflrs/garage:v2.3.0
container_name: maze
restart: unless-stopped
ports:
- "3900:3900" # S3 API
- "3901:3901" # RPC for cluster communication
- "3902:3902" # S3 web interface
- "3903:3903" # Admin API
volumes:
- ./garage.toml:/etc/garage.toml:ro
- object_data:/var/lib/garage/meta
- object_data:/var/lib/garage/data
env_file:
- .env
# PostgreSQL Database Service # PostgreSQL Database Service
@@ -113,6 +129,8 @@ volumes:
driver: local # Use the default local driver driver: local # Use the default local driver
postgres_data_auth: postgres_data_auth:
driver: local # Use the default local driver driver: local # Use the default local driver
object_data:
driver: local # Use the default local driver
networks: networks:
soaricarus-network: soaricarus-network:
+16
View File
@@ -0,0 +1,16 @@
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
db_engine = "sqlite"
replication_factor = 1
rpc_bind_addr = "[::]:3901"
rpc_secret = "${GARAGE_RPC_SECRET}"
[s3_api]
s3_region = "maze"
api_bind_addr = "[::]:3900"
root_domain = ".localhost"
[s3_web]
bind_addr = "[::]:3902"
root_domain = ".localhost"