overflow_server_app/docker-compose.yml
2017-09-08 15:05:46 +09:00

33 lines
960 B
YAML

version: "3"
services:
overflow_server_app:
restart: always
image: docker.loafle.net/overflow/overflow_server_app:1.0.0-SNAPSHOT
container_name: overflow_server_app
volumes:
- /service/overflow_server_app/data/opt/config:/opt/config
- /service/overflow_server_app/data/opt/logs:/opt/logs
# - /home/crusader/Temp/docker/overflow_gateway_web/config:/opt/config
# - /home/crusader/Temp/docker/overflow_gateway_web/logs:/opt/logs
ports:
- "19080:80"
- "19543:443"
# 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