mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
build: update versions
This commit is contained in:
parent
ff23179bfd
commit
71ff59cb55
12
docker/api/bootstrap-data.js
vendored
12
docker/api/bootstrap-data.js
vendored
@ -63,6 +63,17 @@ const bootstrap = function ({ docker, rethink }) {
|
||||
return;
|
||||
}
|
||||
|
||||
data.getDatacenters((err, datacenters) => {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
return;
|
||||
}
|
||||
|
||||
if (datacenters && datacenters.length) {
|
||||
process.exit(0);
|
||||
return;
|
||||
}
|
||||
|
||||
data.createDatacenter({ region, name: region }, (err, datacenter) => {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
@ -115,6 +126,7 @@ const bootstrap = function ({ docker, rethink }) {
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
loadConfig();
|
||||
|
@ -21,7 +21,7 @@
|
||||
"joi": "^10.6.0",
|
||||
"joyent-cp-gql-schema": "^1.7.0",
|
||||
"piloted": "^3.1.1",
|
||||
"portal-api": "^1.7.0",
|
||||
"portal-api": "^1.8.2",
|
||||
"toppsy": "^1.1.0",
|
||||
"triton": "^5.2.0"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM quay.io/yldio/docker-compose-api
|
||||
FROM ramitos/docker-compose-api:1.0.0
|
||||
|
||||
RUN apk add --update bash
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docker-compose-client",
|
||||
"version": "1.0.9",
|
||||
"version": "1.1.0",
|
||||
"license": "MPL-2.0",
|
||||
"repository": "github:yldio/joyent-portal",
|
||||
"main": "lib",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "portal-api",
|
||||
"version": "1.8.0",
|
||||
"version": "1.8.2",
|
||||
"description": "",
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
@ -34,7 +34,7 @@
|
||||
"dependencies": {
|
||||
"boom": "^5.2.0",
|
||||
"cidr-matcher": "^1.0.5",
|
||||
"docker-compose-client": "^1.0.9",
|
||||
"docker-compose-client": "^1.1.0",
|
||||
"dockerode": "^2.5.0",
|
||||
"force-array": "^3.1.0",
|
||||
"graphi": "^3.0.0",
|
||||
|
@ -63,7 +63,7 @@ rethinkdb:
|
||||
# FRONTEND
|
||||
#############################################################################
|
||||
frontend:
|
||||
image: joyent/copilot-frontend:1.0.0
|
||||
image: joyent/copilot-frontend:1.3.4
|
||||
mem_limit: 512m
|
||||
labels:
|
||||
- triton.cns.services=copilot
|
||||
@ -81,7 +81,7 @@ frontend:
|
||||
# BACKEND
|
||||
#############################################################################
|
||||
api:
|
||||
image: joyent/copilot-api:1.1.0
|
||||
image: joyent/copilot-api:1.8.2
|
||||
mem_limit: 1g
|
||||
expose:
|
||||
- 3000
|
||||
@ -94,7 +94,7 @@ api:
|
||||
# Docker-compose wrapper
|
||||
# Create _env file from running ./setup.sh
|
||||
compose-api:
|
||||
image: joyent/copilot-compose:1.0.0
|
||||
image: joyent/copilot-compose:1.1.0
|
||||
expose:
|
||||
- 4242
|
||||
env_file:
|
||||
|
Loading…
Reference in New Issue
Block a user