30 lines
761 B
YAML
30 lines
761 B
YAML
version: "3"
|
|
|
|
services:
|
|
overFlow-server:
|
|
restart: always
|
|
image: docker.loafle.net/overflow/overflow_server:1.0.0-SNAPSHOT
|
|
container_name: overFlow-server
|
|
volumes:
|
|
# - /service/overflow_server/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 |