docker/postgresql
2017-11-15 23:26:10 +08:00
..
docker-compose.yml 完善gitlab和postgresql容器 2017-11-15 23:26:10 +08:00
Dockerfile 完善gitlab和postgresql容器 2017-11-15 23:26:10 +08:00
README.md 完善gitlab和postgresql容器 2017-11-15 23:26:10 +08:00

PostgreSQL

使用方法参考:

postgresql:
  restart: always
  image: postgres:9.6.2-alpine
  port:
  	- 5432:5432
  environment:
	- POSTGRES_USER=gitlab
	- POSTGRES_PASSWORD=gitlab
	- POSTGRES_DB=gitlabhq_production
# the following are hints on what volumes to mount if you want to persist data
#  volumes:
#	- data/postgresql:/var/lib/postgresql/data:rw

官方 https://hub.docker.com/_/postgres/