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 'socket' | |
require 'fileutils' | |
require 'json' | |
require 'logger' | |
require 'time' | |
PORT = 80 | |
UPLOADS_DIR = '/mnt/nfs/uploads' | |
PUBLIC_DIR = '/public' | |
MAX_BODY_SIZE = 10 * 1024 * 1024 # 10 MB |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: AWS ECS Infrastructure setup using an existing VPC | |
Parameters: | |
VpcId: | |
Description: "The ID of the existing VPC" | |
Type: AWS::EC2::VPC::Id | |
PublicSubnet1Id: | |
Description: "The ID of the existing public subnet 1" |
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
openapi: 3.0.0 | |
info: | |
title: MovieApp API | |
description: API para una aplicaci贸n de pel铆culas con autenticaci贸n basada en JWT y autorizaci贸n mediante scopes, siguiendo principios de DDD. | |
version: 1.0.0 | |
servers: | |
- url: https://api.movieapp.com/v1 | |
description: Servidor de Producci贸n | |
- url: http://localhost:8080/v1 | |
description: Servidor de Desarrollo Local |
OlderNewer