mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-01 19:38:30 +08:00
.. | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
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