overflow_server/docker-compose.yml
2017-06-28 14:19:04 +09:00

28 lines
581 B
YAML

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
# docker-compose stop
# docker-compose rm
# or
# docker-compose -f ./docker-compose.yml up -d