나스당 회원분들은 대부분 시놀로지 쓰실텐데, 전 타오바오 NAS 구입해서 우분투 깔아서 쓰고 있습니다.
NAS의 도커가 어느새 스무개가 넘어섰네요.
물론 자주 쓰는것도 있고, 아~주 가끔 쓰는 것도 있지만..
다 아시는 것일수도 있는데, 공유와 기록 차원에서 남겨봅니다.
1. SNIPE-IT
URL : https://snipeitapp.com
Image : linuxserver/snipe-it:latest
Asset Management 프로그램으로 하드웨어 시리얼 번호나 소프트웨어 라이센스 저장하는데 쓰입니다.
UI는 약간 구리지만 나름 한글화도 잘 되어 있네요.
2. Netdata
URL : https://www.netdata.cloud
Image : netdata/netdata
실시간 시스템 모니터링 툴인데, 가..끔 씁니다.
컨테이너를 추가로 올리거나, 어떤 작업할때 리소스 상태 보기 좋습니다.
3. Let's Encrypt
URL : https://letsencrypt.org
Image : linuxserver/letsencrypt
저는 주로 linuxserver의 이미지들을 주로 쓰는데, 자동으로 SSL 인증서도 잘 갱신해주고 세팅도 편합니다.
4. Plex
URL : https://www.plex.tv
Image : plexinc/pms-docker
나스당 회원분들은 다들 쓰시는 그 Plex입니다. 아이가 가장 많이 씁니다. ㅎㅎ
5. Pinry
URL : https://docs.getpinry.com
Image : pinry/pinry
이미지 보드로, 웹서핑 중에 좋은(?) 이미지나 짤방을 바로 클릭하여 저장하고
타일형태로 볼 수 있습니다. 크롬과 파폭 익스텐션이 있어 편합니다.
6. Snibox
URL : https://snibox.github.io
Image : snibox/snibox
코드 스니펫 관리자입니다. 주로 쓰이거나 유용한 코드들을 저장해 개발 용도로 사용합니다.
7. Portainer
URL : https://www.portainer.io
Image : portainer/portainer
도커 컨테이너가 많아지니 한눈에 파악하기 어려워 설치한 도커 관리 툴입니다.
Agent만 설치하면 여러 서버의 도커를 함께 관리할 수 있어 편합니다.
8. ArchiveBox
URL : https://github.com/pirate/ArchiveBox
웹페이지를 통채로 저장해주는 웹 아카이빙 툴입니다. 주로 각종 커뮤니티 글들중 유용한 글들 스크랩하는데 사용하구요.
텔레그램 봇 하나 만들어서 텔레그램에 URL 보내면 자동으로 등록되도록 세팅해두니 편하네요.
9. Piwigo
URL : https://piwigo.org
Image : linuxserver/piwigo
어릴적 사진부터 지금 아이 사진까지 점점 늘어나는 사진을 매번 찾아보기 어려워, 사진 관리 오픈소스 여러 개중 고른 건데
사실 UI가 조금 별로고, 사진이 많아지면 좀 느려지기도 하고.. 걍 지워버리고 구글 포토에 다 올려버릴까 고민중입니다.
스마트폰 앱도 있고, 그냥저냥 쓸만합니다.
10. Transmission
URL : https://transmissionbt.com
Image : linuxserver/transmission
토렌트 쓰시는 분들은 다 아시는 트랜스미션입니다. 역시 텔레그램봇 연동해서 다운로드 완료 시 리포팅 받고, 쉘스크립트로 Plex 라이브러리로 저장하도록 해두고 사용합니다.
예전보다 UI도 많이 괜찮아지고, 가장 많이 쓰는 앱입니다.
11. Airsonic
URL : https://airsonic.github.io
Image : linuxserver/airsonic
웹용 음악 스트리밍 서버입니다. 웹, 앱에서 음악 재생할 수 있습니다.
유튜브 프리미엄 가입하면서 잘 쓰지 않고 있네요;
12. youtube-dl-nas
URL : https://github.com/hyeonsangjeon/youtube-dl-nas
Image : modenaf360/youtube-dl-nas
나스당 윙넛님이 만드신 유튜브 다운로더입니다. 한참 자주 쓰다가
역시 유튜브 프리미엄 가입으로 가~끔 쓰네요.
13. Duplicati
URL : https://www.duplicati.com
Image : linuxserver/duplicati
암호화 백업 툴입니다. 아이 사진과 영상을 매주 1회 구글 드라이브에 암호화해서 백업하도록 설정해 놓고 씁니다.
14. Heimdall
URL : https://heimdall.site
Image : linuxserver/heimdall
어플리케이션 대시보드로 도커로 운영중인 서비스들을 한데 모아 관리하는 웹페이지입니다.
15. WeTTY
URL : https://github.com/butlerx/wetty
Image : svenihoney/wetty
웹터미널입니다. SSH 접속이 어려운 환경에서 브라우저로 SSH 접속이 가능하여, 여행 중에 가끔 요긴하게 사용합니다.
16. NextCloud
URL : https://nextcloud.com
Image : linuxserver/nextcloud
개인용 클라우드 스토리지로 여러 용도로 씁니다. 친구와 파일 공유할때, 폰에서 사진 동기화, Joplin 앱 등과 동기화 등등
17. Confluence
URL : https://www.atlassian.com/ko/software/confluence
Image : atlassian/confluence-server
개인용 위키로 뭘 쓸까해서 이것저것 써보다가 정착한 위키입니다.
회사에서도 쓰고 있어, 사용도 편하고 개인용 라이센스니 10불만 내면 됩니다.
긴 글 읽어주셔서 감사합니다~
저도 몇개 깔아봐야겠네요
아카이브박스 도전해봐야겠군요
https://github.com/pirate/ArchiveBox/wiki/Docker#docker-compose
git clone https://github.com/pirate/ArchiveBox && cd ArchiveBox
mkdir data && chmod 777 data
docker-compose up -d
될지는 잘 모르구요~
저도 깔아봐야할 것들이 많네요~
8번에 봇은 따로 만드신건가요?
필요하시면 쉘스크립트 공유해드리겠습니다~
아카이브 도커를 설치한다음에 텔레그램봇으로 해당 컨테이너로 명령어를 보내는건가요??
처음보는 좋은 docker가 많네요 정보공유 감사드립니다
Docker로 구성해보니 CLI 기반으로 값을 입력해야하네요....
해보시고 궁금한점 있으심 알려주세요~
https://blog.mingoon.com/6
시놀로지 오커에서 pinry와 WeTTY는 셋팅해서 잘 동작하는거 확인 했습니다.
아쉽게 SNIPE-IT 설치해보니 "예기치 않게 중지 되었습니다." 라고 뜨면서 실행이 안되네요.
Pinry는 혹시 관리자 계정 시스템이 없나요?
도커 설치해서 실행해보면 첫 화면에 "Sign Up" 버튼이 있어서 누구나 계정을 만들수 있네요.
특정 계정만 등록/사용하도록 하고 싶은데, 혹시 방법이 있는건지 질문 드립니다.
/srv/www/pinry/pinry/settings/__init__.py
확인 해보겠습니다.
지금 Pinry 가지고 씨름중인데 제가 도커로 만든 pinry 사이트에 계정 만들고 로그인하면 텅 빈 페이지가 보이고
크롬 익스텐션 깔아서 제 pinry 접속 주소 등록해 놓고서 웹서핑중 이미지 -> 마우스 오른쪽 -> Add to Pinry 해봐도
제 도커 pinry 사이트에 이미지가 추가가 되질 않고 있습니다. ;;
그냥 쉽게 사용할 수 있을줄 알았는데, 뭐가 문제인지 어렵네요. ㅎㅎㅎ
그럼 익스텐션이 사용중인지 확인해보시고, 브라우저도 한번 재시작해보세요
컨테이너 내에 접속해서 ALLOW_NEW_REGISTRATIONS = False 를 True로 수정 하는 것에서 막혔습니다 ㅠㅠ
https://github.com/pirate/ArchiveBox/blob/master/etc/nginx/nginx.conf
compose 로 설치시
Unsupported config option for services.archivebox: 'dockerfile'
이런 오류가 뜨는데.. 뭐가 잘못됐을까요??
version: '3'
services:
archivebox:
build: . # replace this with nikisweeting/archivebox to use the docker-compose.yml file as a standalone file without avoid having to clone the repo
stdin_open: true # needed to be able to input URLs directly after `docker-compose up`
tty: true # needed to be able to pipe in URLs via stdin to `docker-compose exec ...`
# env_file: path/to/your/ArchiveBox.conf # this feature is available starting >v0.4
environment:
- USE_COLOR=False # make docker logs nicer by not spamming lots of ANSI colors
- SHOW_PROGRESS=False # make docker logs nicer by not writing lots of progress bar lines
volumes:
- /volume1/docker/archivebox/data:/data
command: bash -c 'echo "https://github.com/pirate/ArchiveBox" | /bin/archive; tail -f /dev/null' # archive the Github repo homepage as a starting point so the index doesn't just show an empty list to new users
nginx:
image: 'nginx'
ports:
- '8098:80'
volumes:
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- /volume1/docker/archivebox/data/data:/var/www
2.docker-compose.yml을 시놀로지 파일서버에 업로드 한 후
3. 시놀로지 ssh 접속
4. root로 접근-cd 명령어로 docker-compose.yml 파일이 있는 폴더로 접근
5. 명령어 docker compose up -d 하면 되는게 아닌가요...?
git clone https://github.com/pirate/ArchiveBox && cd ArchiveBox <- 이거요
mkdir data && chmod 777 data
docker-compose up -d
Building archivebox
Step 1/17 : FROM node:11-slim
---> 4ffafe52a32a
Step 2/17 : LABEL maintainer="Nick Sweeting <archivebox-git@sweeting.me>"
---> Using cache
---> 38cf7de1e9fd
Step 3/17 : RUN apt-get update && apt-get install -yq --no-install-recommends git wget curl youtube-dl gnupg2 libgconf-2-4 python3 python3-pip && rm -rf /var/lib/apt/lists/*
---> Using cache
---> f4dd76483721
Step 4/17 : RUN apt-get update && apt-get install -y wget --no-install-recommends && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && apt-get update && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont --no-install-recommends && rm -rf /var/lib/apt/lists/* && rm -rf /src/*.deb
---> Using cache
---> 192e41e4d1e6
Step 5/17 : ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init
---> Using cache
---> 3791584d785a
Step 6/17 : RUN chmod +x /usr/local/bin/dumb-init
---> Using cache
---> 34ceb2f21f5f
Step 7/17 : ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
---> Using cache
---> e73e6f3efe2e
Step 8/17 : RUN npm i puppeteer
---> Using cache
---> a842d81388c0
Step 9/17 : RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser && mkdir -p /home/pptruser/Downloads && chown -R pptruser:pptruser /home/pptruser && chown -R pptruser:pptruser /node_modules
---> Using cache
---> 79838887d6d9
Step 10/17 : COPY . /home/pptruser/app
---> ef84e1a967c2
Step 11/17 : RUN mkdir -p /data && chown -R pptruser:pptruser /data && ln -s /data /home/pptruser/app/archivebox/output && ln -s /home/pptruser/app/bin/* /bin/ && ln -s /home/pptruser/app/bin/archivebox /bin/archive && chown -R pptruser:pptruser /home/pptruser/app/archivebox
---> Running in 79ff36b08507
Removing intermediate container 79ff36b08507
---> 68682945ae43
Step 12/17 : VOLUME /data
---> Running in 3a93c5e4acbe
Removing intermediate container 3a93c5e4acbe
---> c9a2e452469f
Step 13/17 : ENV LANG=C.UTF-8 LANGUAGE=en_US:en LC_ALL=C.UTF-8 PYTHONIOENCODING=UTF-8 CHROME_SANDBOX=False CHROME_BINARY=google-chrome-unstable OUTPUT_DIR=/data
---> Running in c98f42ece7f8
Removing intermediate container c98f42ece7f8
---> 8455c681e09b
Step 14/17 : USER pptruser
---> Running in 6a94dff19ded
Removing intermediate container 6a94dff19ded
---> 27cd0f056324
Step 15/17 : WORKDIR /home/pptruser/app
---> Running in 8a6b393f4623
Removing intermediate container 8a6b393f4623
---> 863b804b6802
Step 16/17 : ENTRYPOINT ["dumb-init", "--"]
---> Running in f5dbc65cc1eb
Removing intermediate container f5dbc65cc1eb
---> aa54bb660119
Step 17/17 : CMD ["/bin/archive"]
---> Running in 1d0e0163bef5
Removing intermediate container 1d0e0163bef5
---> 699bf151c958
Successfully built 699bf151c958
Successfully tagged archivebox1_archivebox:latest
WARNING: Image for service archivebox was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating archivebox1_nginx_1 ... done
Creating archivebox1_archivebox_1 ... done
설치를 하면 index of 로 뜨는데 정상인가요...?ㅜ
index of / 이게 뜨는건.. archivebox가 제대로 실행되지 않았거나, nginx 설정에 문제가 있을것 같네요
git에서 clone 받은 것중 수정하신게 있나요? 모두 지우고 다시 clone 받아서 해보시면 어떨까요?
docker hub에서 해당 페이지 확인하고 진행중인데, 매계변수 설정등 모두 제 값에 맞게 진행했는데 이상하게 잘 안되네요.
docker create \
--name=snipe-it \
-e PUID=1000 \
-e PGID=1000 \
-e APP_URL=hostname or ip \
-e MYSQL_PORT_3306_TCP_ADDR=mysql host \
-e MYSQL_PORT_3306_TCP_PORT=mysql port \
-e MYSQL_DATABASE=mysql database \
-e MYSQL_USER=mysql pass \
-e MYSQL_PASSWORD=changeme \
-p 8080:80 \
-v path to snipe-it data:/config \
--restart unless-stopped \
linuxserver/snipe-it
APP_URL은 설정하실 URL 적어주시고 (예: 192.168.0.10:8080), MYSQL_PORT_3306_TCP_ADDR은 mysql 컨테이너이름, MYSQL_PORT_3306_TCP_PORT는 3306, MYSQL_DATABASE, MYSQL_USER, MYSQL_PASSWORD 모두 제 값 적어주시고 볼륨은 config 볼륨 하나 정의해주셔야 합니다~
제가 올린건 도커허브에 있는 예제문이고, 실제 적용은 NAS 환경에 맞추어 입력했었습니다~ MYSQL_PORT_3306_TCP_ADDR 부분에 대해서는 mysql 컨테이너를 새로 생성하지 않았고, 기존 운용중인 mariadb의 IP를 적었습니다. 이부분이 문제이려나요? 흠...
snipeit:
image: linuxserver/snipe-it:latest
restart: always
volumes:
- ./data/snipeit/config:/config
environment:
- APP_URL=192.168.0.10:8092
- MYSQL_PORT_3306_TCP_ADDR=mysql
- MYSQL_PORT_3306_TCP_PORT=3306
- MYSQL_DATABASE=snipe
- MYSQL_USER=snipe
- MYSQL_PASSWORD=snipe
- PGID=1000
- PUID=1000
- APP_TIMEZONE=Asia/Seoul
- APP_LOCALE=ko
ports:
- "8092:80"
메뉴얼 제외 Docker에서 따로 세팅하신거나 Chrome이나 Extension 버전 확인이 가능하실까요?
Configuring docker-pinry¶
Enable signups for new users by editing pinry/local_settings.py
ALLOW_NEW_REGISTRATIONS = True
이부분 어떻게 설정하는지 혹시 설명좀 해주실수있나요?
/srv/www/pinry/pinry/settings/__init__.py
07:23:36
[i] [2020-08-13 07:23:36] ArchiveBox v0.4.13: archivebox server 0.0.0.0:8000
stdout
07:23:36 > /data
stdout
07:23:36
stdout
07:23:36
[X] No archivebox index found in the current directory.
stdout
07:23:36 /data
stdout
07:23:36
stdout
07:23:36
Hint: Are you running archivebox in the right folder?
stdout
07:23:36 cd path/to/your/archive/folder
stdout
07:23:36 archivebox [command]
stdout
07:23:36
stdout
07:23:36 Hint: To create a new archive collection or import existing data in this folder, run:
stdout
07:23:36 archivebox init
git clone
https://github.com/pirate/ArchiveBox
&& cd ArchiveBox
mkdir data && chmod 777 data
docker-compose up -d
참, Snibox는 겨우 설치해서 ㅠㅠ 잘쓰고 있습니다. 감사합니다.
[X] No archivebox index found in the current directory.
Are you running archivebox in the right folder? 에러가 나서, github.com 에서 찾아보니
https://github.com/pirate/ArchiveBox/blob/c1ade80d56afe71ac85285581f74f24311427b8c/archivebox/config/__init__.py
JSON_INDEX_FILENAME(index.json) 파일이 없어서 나오는것 같습니다.
혹시, /data 폴더 안에 index.json 파일이 존재해야 하나요? 괜히 귀찮게 해드린것 같아서 죄송스럽네요.
아래 문서를 보고,
https://github.com/pirate/ArchiveBox/wiki/Docker
다음과 같이 해서 정상적으로 설치하였습니다.
git clone https://github.com/pirate/ArchiveBox && cd ArchiveBox
mkdir data && chmod 777 data
docker-compose up -d
docker-compose run archivebox init
설치완료 후, 계정도 만들어줘야 하네요.
docker-compose run archivebox manage createsuperuser
감사합니다.
다행입니다!!