diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index a268556..ed0c55b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,13 @@ version: '3' services: - db: - build: . + postgresql: + image: postgres + volumes: + - db-data:/var/lib/postgresql/data + ports: + - "5432:5432" + +volumes: + db-data: + driver: local |