diff options
Diffstat (limited to 'db/docker-compose.yml')
-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 |