자유게시판

  • 나스 시롤로지 Pinry Docker 도커 설치하기

    페이지 정보

    profile_image
    작성자천사 조회 6,110회 작성일 2021-08-20 22:20:12 댓글 0

    본문

    The image is here: getpinry/pinry, or you could simply pull the image from DockerHub's registry via

    docker pull getpinry/pinry
    

    Then use the command line like:

    # this should be an abs-path not relative path like "."
    export DATA_PATH=/abs/path/to/your/data/directory
    
    sudo docker run -d=true -p=80:80 \
        -v=${DATA_PATH}:/data \
        getpinry/pinry

     

    Enable signups for new users

    Please edit /data/local_settings.py in docker and remove the container then restart it.

    ALLOW_NEW_REGISTRATIONS = True

     

    다른 거

     

    docker run -d --name=pinry \
    -p 9096:80 \
    -v /volume1/docker/pinry/data:/data \
    --restart always \
    getpinry/pinry

     

    컴포넌트

     

    version: '3.8'

    services:
      pinry:
        image: getpinry/pinry
        container_name: pinry
        ports:
          - "[사용하려는 포트 번호]:80"
        volumes:
          - /volume1/docker/pinry/data:/data
        restart: always

    댓글목록

    등록된 댓글이 없습니다.

    Copyright © blog.batifa.com All rights reserved.