diff options
author | Emile <hanemile@protonmail.com> | 2019-10-18 22:42:43 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-18 22:42:43 +0200 |
commit | 4fa2649aca4610b29b4fcbe98e97c0bc718bbe7a (patch) | |
tree | 2982615f62d12912f63ae68f27fe77fb91a7241d /db | |
parent | 217b6d72f4c1ecb7586ab51ff6fa6c3f010016b2 (diff) |
basic postgresql setup
Diffstat (limited to 'db')
-rw-r--r-- | db/docker-compose.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/docker-compose.yml b/db/docker-compose.yml new file mode 100644 index 0000000..3586121 --- /dev/null +++ b/db/docker-compose.yml @@ -0,0 +1,12 @@ +version: '3' +services: + mydb: + image: postgres + ports: + - "5432:5432" + volumes: + - "db-data:/var/lib/postgresql/data" + +volumes: + db-data: + driver: local |