{"id":1378,"date":"2023-01-21T13:15:26","date_gmt":"2023-01-21T19:15:26","guid":{"rendered":"https:\/\/techexperiencemx.com\/?p=1378"},"modified":"2023-01-21T13:15:27","modified_gmt":"2023-01-21T19:15:27","slug":"pingvin-share","status":"publish","type":"post","link":"https:\/\/techexperiencemx.com\/?p=1378","title":{"rendered":"Pingvin Share"},"content":{"rendered":"\n<p>Hola amigos les comparto este contenedor para poder convertir nuestro NAS o VPS en una especie de servidor para poder compartir nuestros archivos con URLs auto generadas o perzonalizadas  de forma r\u00e1pida a si como auto alojar todos nuestros archivos en dicho servidor de forma controlada y poder compartido en familia o con loas amigos sin tener que recurrir a las las plataformas que ya todos conocemos y tambi\u00e9n tiene integrado CLAMAV (antivirus)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">VPS<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo docker run -d --name=pingvin \\\n-p 3000:3000 \\\n-v \/home\/ubuntu\/pingvin\/data:\/opt\/app\/backend\/data \\\n--restart always \\\nstonith404\/pingvin-share<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Synology NAS<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo docker run -d --name=pingvin \\\n-p 3000:3000 \\\n-v \/volume1\/docker\/pingvin\/data:\/opt\/app\/backend\/data \\\n--restart always \\\nstonith404\/pingvin-share<\/pre>\n\n\n\n<p>En synology tendremos que crear antes 2 capetas dentro de la capeta donde tengamos nuestros contenedores  o donde queramos instalar el generador de urls<\/p>\n\n\n\n<p>Posteriormente podremos integrar <a href=\"https:\/\/techexperiencemx.com\/proxy-inverso-synology-nas\/\" data-type=\"URL\" data-id=\"https:\/\/techexperiencemx.com\/proxy-inverso-synology-nas\/\">proxy inverso<\/a> de synology o alg\u00fan otro que tengamos para poder entrar directamente con un nombre  personalizado <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.23.png\" alt=\"\" class=\"wp-image-1379\" width=\"393\" height=\"33\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.23.png 393w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.23-300x25.png 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.33.png\" alt=\"\" class=\"wp-image-1380\" width=\"799\" height=\"304\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.33.png 799w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.33-300x114.png 300w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/Captura-de-pantalla-2023-01-21-a-las-12.56.33-768x292.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Docker Compose<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">version: '3.8'\nservices:\n  pingvin-share:\n    image: stonith404\/pingvin-share\n    restart: unless-stopped\n    ports:\n      - 3000:3000\n    volumes:\n      - \".\/data:\/opt\/app\/backend\/data\"\n# Optional: If you add ClamAV, uncomment the following to have ClamAV start first.\n#    depends_on:\n#      clamav:\n#        condition: service_healthy\n# Optional: Add ClamAV (see README.md)  \n# ClamAV is currently only available for AMD64 see https:\/\/github.com\/Cisco-Talos\/clamav\/issues\/482\n#  clamav:\n#    restart: unless-stopped\n#    image: clamav\/clamav<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/1-2-1024x639.png\" alt=\"\" class=\"wp-image-1387\" width=\"1024\" height=\"639\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/1-2-1024x639.png 1024w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/1-2-300x187.png 300w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/1-2-768x479.png 768w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/1-2.png 1533w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1-1024x609.png\" alt=\"\" class=\"wp-image-1388\" width=\"1024\" height=\"609\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1-1024x609.png 1024w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1-300x178.png 300w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1-768x457.png 768w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1-1536x914.png 1536w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/2-1.png 1540w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/3-1.png\" alt=\"\" class=\"wp-image-1389\" width=\"1533\" height=\"917\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/3-1.png 1533w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/3-1-300x179.png 300w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/3-1-1024x613.png 1024w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2023\/01\/3-1-768x459.png 768w\" sizes=\"auto, (max-width: 1533px) 100vw, 1533px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Hola amigos les comparto este contenedor para poder convertir nuestro NAS o VPS en una especie de servidor para poder compartir nuestros archivos con URLs auto generadas o perzonalizadas de forma r\u00e1pida a si como auto alojar todos nuestros archivos en dicho servidor de forma controlada y poder compartido en familia o con loas amigos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1392,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[24,17],"tags":[],"class_list":["post-1378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-synology"],"_links":{"self":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1378"}],"version-history":[{"count":0,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1378\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/media\/1392"}],"wp:attachment":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}