Skip to content

Container code to run Web application on Nousmotards infra

License

Notifications You must be signed in to change notification settings

nousmotards/nm-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nm-web-app

Docker Repository on Quay

Container build to run Web application on Nousmotards infra.

This image can be used for other scenario. Here are the principal advantages:

  • Light
  • Based on Debian slim
  • Automatic archive application download at boot
  • Failback solution based on AWS to retrieve archive application

Build

Simply run:

docker build -t nm-web-app .

Run

The images are accessible to quay.io:

docker pull quay.io/nousmotards/nm-web-app

You can run an image with required args like this:

docker run -e WGET_OPTIONS="--user=<username> --password=<password> -e URL="<main_url>" -e APP_NAME=<name_of_the_app> -e ENVIRONMENT=<prod|preprod...> -e VERSION='<app_version>' -e AWS_ACCESS_KEY='<aws_key>' -e AWS_SECRET_KEY='<aws_secret>' -e AWS_REGION='<s3_region>' -e AWS_BUCKET='<s3_bucket_name>' nm-web-app

Here is the list of available variables:

APP_NAME
VERSION
ENVIRONMENT
URL
WGET_OPTIONS
WGET_USERNAME
WGET_PASSWORD
AWS_ACCESS_KEY
AWS_SECRET_KEY
AWS_REGION
AWS_BUCKET

About

Container code to run Web application on Nousmotards infra

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages