version: "3" services: overFlow-server: restart: always image: docker.loafle.net/overflow/overflow_server:1.0.0-SNAPSHOT container_name: overFlow-server ports: - "50006:50006" # 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