overflow_dao/docker-compose.yml

26 lines
539 B
YAML
Raw Permalink Normal View History

2017-06-23 06:00:30 +00:00
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