diff options
author | Emile <hanemile@protonmail.com> | 2019-02-07 02:45:33 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-02-07 02:45:33 +0100 |
commit | d2d08cecf4746a53df305fb67468919ef9657836 (patch) | |
tree | 29b2823fc9137d9b6566f63a36091f62d62068e6 /docker-compose.yml | |
parent | 515aeb56e414b4dc43a58171a93c3eaebdcd1906 (diff) |
new model, see the wiki for a description how this all works
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 |