-
Notifications
You must be signed in to change notification settings - Fork 239
Dockerization
Linda edited this page Feb 12, 2018
·
1 revision
File and notes from @sebbel:
version: "2"
services:
app:
image: nalbina/codebuddies
ports:
- "3000:3000"
links:
- mongo
environment:
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/meteor
- 'METEOR_SETTINGS={"public":{"isModeDebug":true},"private":{"mailchimp":{"apiKey":"mailchimp-api-key","listId":"mailchimp-list-id"},"twitter":{"consumer_key":"5tuwUTjY4NwMs5KuVEgDBTIJV","consumer_secret":"k05UXe9j4En8PeZ1m9qfjGgud76KutvlJ2T55qNftuT7VwhvbK","access_token_key":"2770917768-WmbE99Qj7SUz0IAVNjHXACYIYgyWS2hCHt7ROB7","access_token_secret":"b1e7icigIxXcIXupJDapAjujfJdzSmvgd98Um6d15BbYw"}},"isModeProduction":false,"seeder":true,"slack_clientid":"4364220508.48656557590","slack_clientsecret":"33e0c6dda98e994f194efdc9b6d35c46","slack":"https://hooks.slack.com/services/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","sparkpost_username":"SMTP_Injection","sparkpost_password":"262d2acea308cdd96213d83c97fc7ba8ab3873c1","sparkpost_host":"smtp.sparkpostmail.com","sparkpost_port":587,"email_from":"linda@codebuddies.org","team_id":"T04AQ6GEY","slack_alert_channel":"#codebuddies-ops","slack_alert_username":"CodeBuddies Alerts","hangout_reminder_interval":"every 1 hour","root_email":"codebuddiesdotorg@gmail.com","root_username":"CB","root_gravatar":"http://www.gravatar.com/avatar/","slack_studygroup_alert_username":"Study Group Alerts","slack_facebook_alert_channel":"#fb-group-private"}'
mongo:
image: mongo:latest
ports:
- "27017:27017"
Save this as docker-compose.yml and do docker-compose up in the same directory.
By dockerizing CodeBuddies, we could theoretically spin up demo instances for PRs.