Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
(window.webpackJsonp=window.webpackJsonp||[]).push([[114],{405:function(e,t,r){"use strict";r.r(t);var a=r(7),s=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("div",{staticClass:"pb-8 border-b border-gray-300"},[r("h1",[e._v("Contributte Dockerfiles")]),e._v(" "),r("div"),e._v(" "),r("div",{staticClass:"flex flex-col space-y-2 mt-2"},[r("div",{staticClass:"flex flex-row space-x-2 items-center"},[r("img",{staticClass:"opacity-50",attrs:{loading:"lazy",src:"https://obr.vercel.app/fa/b/github/16"}}),e._v(" "),r("a",{attrs:{href:"https://github.com/contributte/dockerfiles"}},[e._v("github.com/contributte/dockerfiles")])])])]),e._v(" "),r("h1",{attrs:{id:"nette-docker-nette-dockerfles"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#nette-docker-nette-dockerfles"}},[e._v("#")]),e._v(" Nette Docker / Nette Dockerfles")]),e._v(" "),r("img",{attrs:{align:"right",src:"https://github.com/dockette.png"}}),e._v(" "),r("p",[e._v("Why is it useful to have Nette in container?")]),e._v(" "),r("ul",[r("li",[e._v("process isolation")]),e._v(" "),r("li",[e._v("multiplatform (linux, mac, windows)")]),e._v(" "),r("li",[e._v("configurable via ENV")]),e._v(" "),r("li",[e._v("plug & play")])]),e._v(" "),r("p",[e._v("In case of you're looking for a fullstack, stable, up-to-date and supported Docker solution to Nette Framework. Take a look at "),r("a",{attrs:{href:"https://github.com/dockette/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Dockette"),r("OutboundLink")],1),e._v(" or\nreach "),r("a",{attrs:{href:"https://github.com/f3l1x",target:"_blank",rel:"noopener noreferrer"}},[e._v("@f3l1x"),r("OutboundLink")],1),e._v(" ("),r("a",{attrs:{href:"https://f3l1x.io",target:"_blank",rel:"noopener noreferrer"}},[e._v("f3l1x.io"),r("OutboundLink")],1),e._v(").")]),e._v(" "),r("p",[e._v("There are also many docker images that could help you start with:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/dockette/web",target:"_blank",rel:"noopener noreferrer"}},[e._v("dockette/web"),r("OutboundLink")],1)]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dockette/php",target:"_blank",rel:"noopener noreferrer"}},[e._v("dockette/php"),r("OutboundLink")],1)]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dockette/ci",target:"_blank",rel:"noopener noreferrer"}},[e._v("dockette/ci"),r("OutboundLink")],1)]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dockette/devstack",target:"_blank",rel:"noopener noreferrer"}},[e._v("dockette/devstack"),r("OutboundLink")],1)]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dockette/nodejs",target:"_blank",rel:"noopener noreferrer"}},[e._v("dockette/nodejs"),r("OutboundLink")],1)])]),e._v(" "),r("h2",{attrs:{id:"get-started"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#get-started"}},[e._v("#")]),e._v(" Get Started")]),e._v(" "),r("p",[e._v("This is example of nette/sandbox in Docker. Docker image is based on "),r("strong",[e._v("Debian Buster")]),e._v(",\nthere are preinstalled "),r("a",{attrs:{href:"https://deb.sury.org/",target:"_blank",rel:"noopener noreferrer"}},[e._v("PHP 7.4 FPM"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://getcomposer.org/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Composer"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://caddyserver.com/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Caddy server"),r("OutboundLink")],1),e._v(" packages.")]),e._v(" "),r("h3",{attrs:{id:"build"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#build"}},[e._v("#")]),e._v(" Build")]),e._v(" "),r("p",[e._v("You can build this image locally, using:")]),e._v(" "),r("div",{staticClass:"language-bash line-numbers-mode"},[r("pre",{pre:!0,attrs:{class:"language-bash"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("make")]),e._v(" build\n")])]),e._v(" "),r("div",{staticClass:"line-numbers-wrapper"},[r("span",{staticClass:"line-number"},[e._v("1")]),r("br")])]),r("div",{staticClass:"language-bash line-numbers-mode"},[r("pre",{pre:!0,attrs:{class:"language-bash"}},[r("code",[e._v("docker build -t nette ./sandbox\n")])]),e._v(" "),r("div",{staticClass:"line-numbers-wrapper"},[r("span",{staticClass:"line-number"},[e._v("1")]),r("br")])]),r("h3",{attrs:{id:"usage"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#usage"}},[e._v("#")]),e._v(" Usage")]),e._v(" "),r("div",{staticClass:"language-bash line-numbers-mode"},[r("pre",{pre:!0,attrs:{class:"language-bash"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("make")]),e._v(" dev\n")])]),e._v(" "),r("div",{staticClass:"line-numbers-wrapper"},[r("span",{staticClass:"line-number"},[e._v("1")]),r("br")])]),r("div",{staticClass:"language-bash line-numbers-mode"},[r("pre",{pre:!0,attrs:{class:"language-bash"}},[r("code",[e._v("docker run -it --rm -p "),r("span",{pre:!0,attrs:{class:"token number"}},[e._v("8000")]),e._v(":80 nette\n")])]),e._v(" "),r("div",{staticClass:"line-numbers-wrapper"},[r("span",{staticClass:"line-number"},[e._v("1")]),r("br")])]),r("p",[e._v("Now you can open "),r("code",[e._v("http://localhost:8000")]),e._v(" in your browser.")]),e._v(" "),r("h3",{attrs:{id:"demo"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#demo"}},[e._v("#")]),e._v(" Demo")]),e._v(" "),r("p",[r("img",{attrs:{src:"https://raw.githubusercontent.com/contributte/dockerfiles/master/.docs/sandbox.png",alt:"",title:"Nette Sandbox"}})]),e._v(" "),r("hr"),e._v(" "),r("p",[e._v("Consider to "),r("a",{attrs:{href:"https://contributte.org/partners.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("support"),r("OutboundLink")],1),e._v(" "),r("strong",[e._v("contributte")]),e._v(" development team.\nAlso thank you for using this project.")])])}),[],!1,null,null,null);t.default=s.exports}}]);