添加 docker 启动配置文件
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# docker-compose.yml
|
||||
|
||||
version: "3.8"
|
||||
services:
|
||||
# Docker connection string: postgres://postgres:postgres@localhost:5432/
|
||||
|
||||
postgres:
|
||||
image: postgres:13.5
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
Reference in New Issue
Block a user