๋์ค ์๋กค๋ก์ง Pinry Docker ๋์ปค ์ค์นํ๊ธฐ
ํ์ด์ง ์ ๋ณด
๋ณธ๋ฌธ
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
๋๊ธ๋ชฉ๋ก
๋ฑ๋ก๋ ๋๊ธ์ด ์์ต๋๋ค.
