From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from integral2.. (unknown [182.2.72.31]) by gnuweeb.org (Postfix) with ESMTPSA id 829A47E7C8; Sat, 30 Apr 2022 17:08:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1651338538; bh=S5HtZDS0in2gRvbfjRuPS0HRN44q7pq74CZx/kR35cY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kVRg7YI3yrkCxZ640cTQ1VT83V0n0dKmFIFNpdzKSYnxaW/xQz021/8sex/ANuVWg HWRHzZq7wFwUxbWZKeITb1Lt00xF7MlY7ZADpBmMhIFC5aj5sG5ZAPGCq7Fe97lUPM 3ATPDQJjDiwfgVj3FeHTm/kWTnFARbfokkNk5NYEC1znM3YCtbDsPg9WMFU8u7dDyz wPGRCbPoUSg720hChBWiXMOMQI2BTCecjY9fovU2KGO+ZA8wkiAAiQYaDCyMIOafvK SJ+XyveL14+yC6arMt4QuA61WiGRcRae0ePdGxlvGKMekIEjejXwERAhscoCcWTK2P 1l7M8d94o9Xpg== From: Ammar Faizi To: Hazmi Alfarizqi , GNU/Weeb Mailing List Cc: Ammar Faizi , Hazmi Alfarizqi , Alviro Iskandar Setiawan Subject: [PATCH server-a001 v2 3/4] Create `storage` directory for saving persistent data Date: Sun, 1 May 2022 00:08:37 +0700 Message-Id: <20220430170838.19571-4-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220430170838.19571-1-ammarfaizi2@gnuweeb.org> References: <20220430170838.19571-1-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This is a directory to save persistent data across `docker run`. All files inside this directory are ignored by git. They shouldn't be commited to the git tree. The first use case of this directory is for the MySQL database. The container will mount particular directories inside this `storage` directory. Side note: For data backup, the data inside the `storage` directory should be backed up by another method. Not by commiting the files to the git tree together with `server-a001` tree. Signed-off-by: Ammar Faizi --- storage/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 storage/.gitignore diff --git a/storage/.gitignore b/storage/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore -- Ammar Faizi