central/build/docker-compose.yml

30 lines
745 B
YAML
Raw Normal View History

2018-04-06 12:46:02 +00:00
version: "3"
services:
overFlow-server:
restart: always
image: docker.loafle.net/overflow/central:1.0.0-SNAPSHOT
container_name: overFlow-server
volumes:
- /service/central/data/opt/conf:/opt/conf
# - /home/crusader/Temp/docker/conf:/opt/conf
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