docker-compose.yml file is added.
This commit is contained in:
parent
710518b454
commit
af91ef39fe
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
# overFlow-dao:
|
||||
# restart: always
|
||||
# build: ./
|
||||
# container_name: overFlow-dao
|
||||
# volumes:
|
||||
# ports:
|
||||
# - "9080:80"
|
||||
|
||||
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
|
||||
# or
|
||||
# docker-compose -f ./docker-compose.yml up -d
|
Loading…
Reference in New Issue
Block a user