overflow_server/build/docker-compose.yml

30 lines
761 B
YAML
Raw Normal View History

2017-06-28 05:19:04 +00:00
version: "3"
services:
2017-08-09 02:30:33 +00:00
overFlow-server:
restart: always
image: docker.loafle.net/overflow/overflow_server:1.0.0-SNAPSHOT
container_name: overFlow-server
2017-09-07 08:05:03 +00:00
volumes:
2017-12-15 09:59:04 +00:00
- /service/overflow_server/data/opt/conf:/opt/conf
# - /home/crusader/Temp/docker/conf:/opt/conf
2017-08-09 02:30:33 +00:00
ports:
- "50006:50006"
2017-06-28 05:19:04 +00:00
2017-08-09 02:30:33 +00:00
# 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"
2017-06-28 05:19:04 +00:00
# docker-compose up -d
# docker-compose stop
# docker-compose rm
# or
# docker-compose -f ./docker-compose.yml up -d