docker-compose.yml file is added.

This commit is contained in:
crusader 2017-06-23 15:00:30 +09:00
parent 710518b454
commit af91ef39fe

26
docker-compose.yml Normal file
View File

@ -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