@things-factory/operato-ecs 8.0.5 → 9.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +24 -6
- package/dist-client/bootstrap.d.ts +2 -2
- package/dist-client/bootstrap.js +10 -10
- package/dist-client/bootstrap.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +56 -56
- package/schema.graphql +31 -16
- package/installer/config.production.js +0 -62
- package/installer/config.yaml +0 -4
- package/installer/docker-compose-test.yml +0 -19
- package/installer/docker-compose.yml +0 -54
- package/installer/install.sh +0 -54
- package/installer/migrate.sh +0 -1
- package/installer/start.sh +0 -18
- package/installer/stop.sh +0 -1
- package/installer/upgrade.sh +0 -1
package/installer/install.sh
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
if [ -f "config.production.js" ] ; then
|
2
|
-
echo "config.production.js exist"
|
3
|
-
else
|
4
|
-
echo "config.production.js create"
|
5
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/config.production.js
|
6
|
-
fi
|
7
|
-
|
8
|
-
if [ -f "start.sh" ] ; then
|
9
|
-
echo "start.sh exist"
|
10
|
-
else
|
11
|
-
echo "start.sh create"
|
12
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/start.sh
|
13
|
-
fi
|
14
|
-
|
15
|
-
if [ -f "stop.sh" ] ; then
|
16
|
-
echo "stop.sh exist"
|
17
|
-
else
|
18
|
-
echo "stop.sh create"
|
19
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/stop.sh
|
20
|
-
fi
|
21
|
-
|
22
|
-
if [ -f "upgrade.sh" ] ; then
|
23
|
-
echo "upgrade.sh exist"
|
24
|
-
else
|
25
|
-
echo "upgrade.sh create"
|
26
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/upgrade.sh
|
27
|
-
fi
|
28
|
-
|
29
|
-
if [ -f "migrate.sh" ] ; then
|
30
|
-
echo "migrate.sh exist"
|
31
|
-
else
|
32
|
-
echo "migrate.sh create"
|
33
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/migrate.sh
|
34
|
-
fi
|
35
|
-
|
36
|
-
if [ -f "docker-compose.yml" ] ; then
|
37
|
-
echo "docker-compose.yml exist"
|
38
|
-
else
|
39
|
-
echo "docker-compose.yml create"
|
40
|
-
curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/docker-compose.yml
|
41
|
-
fi
|
42
|
-
|
43
|
-
chmod u+x start.sh
|
44
|
-
chmod u+x stop.sh
|
45
|
-
chmod u+x upgrade.sh
|
46
|
-
chmod u+x migrate.sh
|
47
|
-
|
48
|
-
echo "HostPort=3000" > .env
|
49
|
-
|
50
|
-
docker pull hatiolab/operato-ecs:latest
|
51
|
-
|
52
|
-
docker pull hatiolab/operato-nginx:latest
|
53
|
-
|
54
|
-
docker-compose create
|
package/installer/migrate.sh
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
docker exec -it operato-ecs npm run migration -- --mode=production
|
package/installer/start.sh
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
HOST_PORT=3000
|
2
|
-
|
3
|
-
if [ $# -eq 0 ] ; then
|
4
|
-
echo "Warning: default port 3000"
|
5
|
-
else
|
6
|
-
HOST_PORT=$1
|
7
|
-
fi
|
8
|
-
|
9
|
-
|
10
|
-
echo "HOST_PORT : ${HOST_PORT}"
|
11
|
-
|
12
|
-
echo "HostPort="$HOST_PORT > .env
|
13
|
-
|
14
|
-
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
15
|
-
xhost +"local:docker@"
|
16
|
-
fi
|
17
|
-
|
18
|
-
docker-compose up -d
|
package/installer/stop.sh
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
docker-compose stop
|
package/installer/upgrade.sh
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
curl -fsSL https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-ecs/installer/install.sh | bash -s
|