1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

remove packages

This commit is contained in:
ivaosthu 2016-11-10 14:15:29 +01:00
parent 820caee65b
commit 3e1dfe5ce3
9 changed files with 0 additions and 72 deletions

View File

@ -1,6 +0,0 @@
{
"extends": [
"finn",
"finn/node"
]
}

View File

@ -1 +0,0 @@
# TODO

View File

@ -1,3 +0,0 @@
.git
docker-compose.yml
node_modules

View File

@ -1,6 +0,0 @@
{
"extends": [
"finn",
"finn/node"
]
}

View File

@ -1,11 +0,0 @@
FROM nodesource/wheezy:6
COPY . .
RUN npm install --production
RUN mkdir scripts && cp node_modules/unleash-server/scripts/migration-runner.js scripts/. && \
mkdir migrations && cp -r node_modules/unleash-server/migrations/* migrations/.
EXPOSE 4242
CMD node index.js

View File

@ -1,6 +0,0 @@
# unleash-docker
```bash
$ docker-compose build
$ docker-compose up
```

View File

@ -1,13 +0,0 @@
web:
build: .
command: npm run migrate-and-start
ports:
- "4242:4242"
links:
- db
environment:
DATABASE_URL: postgres://postgres:unleash@db/postgres
db:
expose:
- "5432"
image: postgres:9.3

View File

@ -1,4 +0,0 @@
'use strict';
const unleash = require('unleash-server');
unleash.start({});

View File

@ -1,22 +0,0 @@
{
"name": "unleash-docker",
"version": "1.0.0",
"description": "Docker images for unleash.",
"main": "index.js",
"scripts": {
"start": "NODE_ENV=production node index.js",
"migrate-and-start": "npm run db-migrate && npm run start",
"db-migrate": "db-migrate up",
"test:ci": "echo 'no tests for unleash-docker';"
},
"engines": {
"node": "6"
},
"author": "",
"license": "ISC",
"dependencies": {
"db-migrate": "0.9.25",
"mkdirp": "^0.5.1",
"unleash-server": "^1.0.0-alpha.2"
}
}