update ports and variables for docker compose bootstrap

This commit is contained in:
Martin Guether
2017-04-07 11:55:07 +02:00
parent a3e2129b79
commit f9cf8ba7e8
9 changed files with 49 additions and 35 deletions

View File

@@ -6,6 +6,15 @@ AWS.config.region = 'eu-central-1';
var fs = require('fs');
var config = require('config');
var cdn = config.get("storage_cdn")
var storage_endpoint = 'http://storage:9000';
const bucketName = "sdeck-fresh-development";
const ep = new AWS.Endpoint(storage_endpoint);
const s3 = new AWS.S3({
endpoint: ep
});
module.exports = {
removeFile: (path, callback) => {
const s3 = new AWS.S3({