From af91ef39fe16ef6cdc9358e1018f7775c1f2edab Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 23 Jun 2017 15:00:30 +0900 Subject: [PATCH] docker-compose.yml file is added. --- docker-compose.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3c03f50 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,26 @@ +version: "3" + +services: + # overFlow-dao: + # restart: always + # build: ./ + # container_name: overFlow-dao + # volumes: + # ports: + # - "9080:80" + + postgresql: + restart: always + image: postgres:9.6-alpine + container_name: overFlow-dao-postgres + environment: + - POSTGRES_DB=overflow + - POSTGRES_USER=overflow + - POSTGRES_PASSWORD=qwer5795 + # - POSTGRES_INITDB_ARGS="--data-checksums" + ports: + - "5432:5432" + +# docker-compose up -d +# or +# docker-compose -f ./docker-compose.yml up -d \ No newline at end of file