Skip to content

Instantly share code, notes, and snippets.

@krishamoud
krishamoud / app.config
Last active June 3, 2019 11:18
Deploy Meteor onto Elastic Beanstalk
option_settings:
- option_name: AWS_SECRET_KEY
value: -------------------------------------------
- option_name: AWS_ACCESS_KEY_ID
value: ------------------------------
- option_name: PORT
value: 8081
@krishamoud
krishamoud / timezone.json
Created January 14, 2015 00:14
List of timezones in JSON
[{
"value": "America/Puerto_Rico",
"name": "Puerto Rico (Atlantic)"
}, {
"value": "America/New_York",
"name": "New York (Eastern)"
}, {
"value": "America/Chicago",
"name": "Chicago (Central)"
}, {
@krishamoud
krishamoud / Dockerfile
Created August 8, 2017 04:48
A Dockerfile that installs node 4.8.4, mongo, and supervisord
FROM alpine:edge
ENV VERSION=v4.8.4 NPM_VERSION=2
RUN apk add --no-cache supervisor curl make gcc g++ python mongodb linux-headers binutils-gold gnupg libstdc++ && \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \

Keybase proof

I hereby claim:

  • I am krishamoud on github.
  • I am krishamoud (https://keybase.io/krishamoud) on keybase.
  • I have a public key ASCFvCiAbFLUY8l2iZaaN7Nc5j-22DnKnV8C9iiK6jXqNAo

To claim this, I am signing this object:

sidekiq:
terminationGracePeriodSeconds: 1200 # Max time to wait for sidekiq jobs to finish is 20 minutes
container:
command:
- bundle
- exec
- sidekiqswarm
preStopCMD: ["/bin/bash","/app/bin/sidekiq_graceful_shutdown.sh"]