์ž์œ ๊ฒŒ์‹œํŒ

  • ๋‚˜์Šค ์‹œ๋กค๋กœ์ง€ Pinry Docker ๋„์ปค ์„ค์น˜ํ•˜๊ธฐ

    ํŽ˜์ด์ง€ ์ •๋ณด

    profile_image
    ์ž‘์„ฑ์ž์ฒœ์‚ฌ ์กฐํšŒ 10,559ํšŒ ์ž‘์„ฑ์ผ 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

    ๋Œ“๊ธ€๋ชฉ๋ก

    ๋“ฑ๋ก๋œ ๋Œ“๊ธ€์ด ์—†์Šต๋‹ˆ๋‹ค.