Private NPM container that can backup to s3
Switch branches/tags
Nothing to show
Clone or download
bruceharrison1984 Merge pull request #1 from ashbrown/aws-cfn
Adding stacks for ECS Fargate
Latest commit bf1749d Apr 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aws-cfn Adding stacks for ECS Fargate Apr 6, 2018
Dockerfile Update Dockerfile Dec 13, 2017
README.md Adding stacks for ECS Fargate Apr 6, 2018
run-verdaccio.sh Update run-verdaccio.sh Dec 13, 2017
s3-sync.sh Update s3-sync.sh Dec 13, 2017

README.md

docker-verdaccio-s3

Private NPM container that can backup to s3

The container will sync content down upon starting, and perform a backup sync every 5 minutes. The EC2 instance running this container must have access to the S3 bucket via IAM Profile.

docker run --name verdaccio -e S3_BUCKET=<s3 bucket name> -p 80:4873 asynchrony/docker-verdaccio-s3

Running in AWS ECS Fargate

Two AWS CloudFormation stacks are provided within the aws-cfn directory to run this npm registry within an AWS ECS FARGATE cluster.

  • vpc.yml Create a VPC to run the ECS cluster.
  • ecs.yml The ECS cluster.