public inbox for [email protected]
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: Hazmi Alfarizqi <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>
Cc: Ammar Faizi <[email protected]>,
	Hazmi Alfarizqi <[email protected]>,
	Alviro Iskandar Setiawan <[email protected]>
Subject: [PATCH server-a001 v2 3/4] Create `storage` directory for saving persistent data
Date: Sun,  1 May 2022 00:08:37 +0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

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 <[email protected]>
---
 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


  parent reply	other threads:[~2022-04-30 17:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-30 17:08 [PATCH server-a001 v2 0/4] Install net-tools and MySQL server Ammar Faizi
2022-04-30 17:08 ` [PATCH server-a001 v2 1/4] Install net-tools Ammar Faizi
2022-04-30 17:08 ` [PATCH server-a001 v2 2/4] Install MySQL server Ammar Faizi
2022-04-30 17:24   ` Alviro Iskandar Setiawan
2022-04-30 17:08 ` Ammar Faizi [this message]
2022-04-30 17:30   ` [PATCH server-a001 v2 3/4] Create `storage` directory for saving persistent data Alviro Iskandar Setiawan
2022-04-30 17:39     ` Ammar Faizi
2022-04-30 17:54       ` Ammar Faizi
2022-05-01 12:13   ` Hazmi Alfarizqi
2022-04-30 17:08 ` [PATCH server-a001 v2 4/4] Create start.sh to start the docker container Ammar Faizi
2022-04-30 17:32   ` Alviro Iskandar Setiawan
2022-05-01 12:15   ` Hazmi Alfarizqi
2022-05-01 13:45     ` Ammar Faizi
2022-05-01 15:09       ` Hazmi Alfarizqi
2022-05-01 15:13         ` Ammar Faizi
2022-04-30 17:10 ` [PATCH server-a001 v2 0/4] Install net-tools and MySQL server Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox