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