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
terraform { | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 4.16" | |
} | |
} | |
required_version = ">= 1.2.0" | |
} |
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
package com.javatodev.finance; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.config.server.EnableConfigServer; | |
@EnableConfigServer | |
@SpringBootApplication | |
public class InternetBankingConfigServerApplication { | |
public static void main(String[] args) { |
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
service: image-processing-lambda | |
frameworkVersion: '3' | |
provider: | |
name: aws | |
runtime: nodejs14.x | |
timeout: 10 | |
stage: dev | |
iam: |
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
service: file-conversion-app | |
frameworkVersion: '3' | |
provider: | |
name: aws | |
runtime: nodejs14.x | |
timeout: 10 | |
stage: dev | |
iam: |
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
service: file-conversion-app | |
frameworkVersion: '3' | |
provider: | |
name: aws | |
runtime: nodejs14.x | |
timeout: 10 | |
stage: dev | |
iam: |
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
"use strict"; | |
const AWS = require('aws-sdk'); | |
const sharp = require('sharp'); | |
//AWS S3 Client | |
const s3 = new AWS.S3(); | |
module.exports.processFile = async (event, context) => { |
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
{ | |
"auths": { | |
"registry.gitlab.com": { | |
"auth": "Y2hpa1I538947249hjkfdhsfUSUJJU8b32FzbG9jYWxodBZN0OjVfY13" | |
} | |
} | |
} |
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
global: | |
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
# scrape_timeout is set to the global default (10s). | |
scrape_configs: | |
- job_name: 'prometheus' | |
static_configs: | |
- targets: [ '127.0.0.1:9090' ] | |
- job_name: 'ennoblex_springboot_app' |
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
services: | |
- docker:dind | |
stages: | |
- dependencies | |
- test | |
- build | |
- publish | |
install_dependencies: |
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 nginx:1.17.1-alpine | |
COPY dist/angular-keycloak-app /usr/share/nginx/html | |
EXPOSE 80 |
NewerOlder