commit | 7e1c76150ea598a688a3806790e103dae9ab5c0b | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sat Dec 10 17:49:15 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sat Dec 10 17:53:28 2022 +0100 |
tree | c4ed37adfa87db1e8fade8a992b3ced9cefb5f11 | |
parent | 7b206bbd636c9ec5d657681b482cb77bea4c648a [diff] |
Save DB data persistently in docker-compose sample Change-Id: I756ecea69ffaf45b44f40c597c26a515ca8c3c73
diff --git a/.gitignore b/.gitignore index 2bb202b..0e041a9 100644 --- a/.gitignore +++ b/.gitignore
@@ -1,2 +1,3 @@ docker-compose.yml .env +db-data
diff --git a/docker-compose.sample.yml b/docker-compose.sample.yml index 6f8dc16..285d81e 100644 --- a/docker-compose.sample.yml +++ b/docker-compose.sample.yml
@@ -10,6 +10,8 @@ - db networks: - backend + volumes: + - ./db-data:/var/lib/mysql restart: unless-stopped db: image: mariadb