This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user root; | |
| worker_processes 1; | |
| daemon off; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| server_name localhost; | |
| root /var/www/html; | |
| location = / { | |
| try_files @site @site; | |
| } | |
| location / { | |
| try_files $uri $uri/ @site; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM jenkins:latest | |
| MAINTAINER Matheus Fidelis <[email protected]> | |
| VOLUME /var/jenkins_home | |
| EXPOSE 50000 | |
| EXPOSE 8080 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jenkins: | |
| build: . | |
| ports: | |
| - "8080:8080" | |
| - "50000:50000" | |
| volumes: | |
| - ./jenkins_home:/var/jenkins_home |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| registry: | |
| image: registry:2 | |
| ports: | |
| - "5000:5000" | |
| volumes: | |
| - './data:/var/lib/registry' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| servidorzinho: | |
| image: ip-do-registry:5000/servidorzinho | |
| ports: | |
| - "80:80" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| registry: | |
| image: registry:2 | |
| ports: | |
| - "5000:5000" | |
| volumes: | |
| - './data:/var/lib/registry' | |
| - './auth:/auth' | |
| environment: | |
| REGISTRY_AUTH: htpasswd | |
| REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| api: | |
| image: msfidelis/example-api | |
| ports: | |
| - "80:80" | |
| #Configs de Deploy do Service | |
| deploy: | |
| # Quantos containers vão ser stardados no Deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "require": { | |
| "slim/slim": "^3.8" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use \Psr\Http\Message\ServerRequestInterface as Request; | |
| use \Psr\Http\Message\ResponseInterface as Response; | |
| require './vendor/autoload.php'; | |
| $app = new \Slim\App; | |
| /** | |
| * Inicio do bang :) |