其他分享
首页 > 其他分享> > pg docker-compose.yml

pg docker-compose.yml

作者:互联网

version: '3'
services:
  postgres:
    image: postgres:11
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
    ports:
      - 5432:5432
    volumes:
      - ./data:/var/lib/postgresql/data
  redis:
    image: redis:5
    ports:
      - 6379:6379

标签:5432,compose,POSTGRES,image,redis,pg,docker,data,postgres
来源: https://blog.csdn.net/a112121788/article/details/122871421