|
1 | | -#!/bin/bash |
2 | | - |
3 | | -set -eu |
4 | | - |
5 | | -SCRIPTDIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" |
6 | | - |
7 | | -# ~ V.7 |
8 | | -# docker run --rm -it -d --publish 9292:9201 --expose 9201 \ |
9 | | -# -e node.name=fn-platform-omni-data-01 \ |
10 | | -# -e discovery.type=single-node \ |
11 | | -# -e http.port=9201 \ |
12 | | -# -e http.cors.enabled=true \ |
13 | | -# -e http.cors.allow-origin=* \ |
14 | | -# -e http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization \ |
15 | | -# -e http.cors.allow-credentials=true \ |
16 | | -# -e xpack.security.enabled=false \ |
17 | | -# -e bootstrap.system_call_filter=false \ |
18 | | -# -e ES_JAVA_OPTS="-Xms1g -Xmx1g" \ |
19 | | -# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
20 | | -# fn-platform-basic-api:omni_es |
21 | | - |
22 | | -# V.8 |
23 | | -# docker run --rm -it -d --publish 9203:9201 --expose 9201 \ |
24 | | -# --name fn-platform-omni-data-01 \ |
25 | | -# -e node.roles="[data, master]" \ |
26 | | -# -e node.name=fn-platform-omni-data-01 \ |
27 | | -# -e cluster.name=docker-elasticsearch \ |
28 | | -# -e cluster.initial_master_nodes=fn-platform-omni-data-01 \ |
29 | | -# -e discovery.seed_hosts=fn-platform-omni-data-01 \ |
30 | | -# -e cluster.routing.allocation.disk.threshold_enabled=false \ |
31 | | -# -e http.port=9201 \ |
32 | | -# -e ES_JAVA_OPTS="-Xms1g -Xmx1g" \ |
33 | | -# -e xpack.security.enabled=false \ |
34 | | -# -e xpack.security.http.ssl.enabled=false \ |
35 | | -# -e xpack.license.self_generated.type=basic \ |
36 | | -# -e action.destructive_requires_name=false \ |
37 | | -# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
38 | | -# fn-platform-basic-api:omni_es |
39 | | - |
40 | | -# docker run --rm -it -d --publish 8888:8888 --expose 8888 \ |
41 | | -# --name fn-basic-docker-api \ |
42 | | -# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
43 | | -# fn-basic-docker-api:es |
44 | | - |
45 | | -docker run --publish 8888:8888 --expose 8888 \ |
46 | | - --name fn-basic-docker-api \ |
47 | | - -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
48 | | - fn-basic-docker-api:es |
49 | | - |
50 | | -# docker run --rm --platform linux/amd64 -it -d \ |
51 | | -# --name fn-cicd-basic-api --publish 15555:5555 --expose 5555 \ |
52 | | -# --network bridge \ |
53 | | -# -e ES_HOST=http://host.docker.internal:9203 \ |
54 | | -# -v "$SCRIPTDIR:/app/FN-Basic-Services/" \ |
55 | | -# fn-cicd-basic-api:es |
56 | | - |
57 | | - |
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +set -eu |
| 4 | + |
| 5 | +export PYTHONDONTWRITEBYTECODE=1 |
| 6 | + |
| 7 | + |
| 8 | +SCRIPTDIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" |
| 9 | + |
| 10 | +# ~ V.7 |
| 11 | +# docker run --rm -it -d --publish 9292:9201 --expose 9201 \ |
| 12 | +# -e node.name=fn-platform-omni-data-01 \ |
| 13 | +# -e discovery.type=single-node \ |
| 14 | +# -e http.port=9201 \ |
| 15 | +# -e http.cors.enabled=true \ |
| 16 | +# -e http.cors.allow-origin=* \ |
| 17 | +# -e http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization \ |
| 18 | +# -e http.cors.allow-credentials=true \ |
| 19 | +# -e xpack.security.enabled=false \ |
| 20 | +# -e bootstrap.system_call_filter=false \ |
| 21 | +# -e ES_JAVA_OPTS="-Xms1g -Xmx1g" \ |
| 22 | +# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
| 23 | +# fn-platform-basic-api:omni_es |
| 24 | + |
| 25 | +# V.8 |
| 26 | +# docker run --rm -it -d --publish 9203:9201 --expose 9201 \ |
| 27 | +# --name fn-platform-omni-data-01 \ |
| 28 | +# -e node.roles="[data, master]" \ |
| 29 | +# -e node.name=fn-platform-omni-data-01 \ |
| 30 | +# -e cluster.name=docker-elasticsearch \ |
| 31 | +# -e cluster.initial_master_nodes=fn-platform-omni-data-01 \ |
| 32 | +# -e discovery.seed_hosts=fn-platform-omni-data-01 \ |
| 33 | +# -e cluster.routing.allocation.disk.threshold_enabled=false \ |
| 34 | +# -e http.port=9201 \ |
| 35 | +# -e ES_JAVA_OPTS="-Xms1g -Xmx1g" \ |
| 36 | +# -e xpack.security.enabled=false \ |
| 37 | +# -e xpack.security.http.ssl.enabled=false \ |
| 38 | +# -e xpack.license.self_generated.type=basic \ |
| 39 | +# -e action.destructive_requires_name=false \ |
| 40 | +# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
| 41 | +# fn-platform-basic-api:omni_es |
| 42 | + |
| 43 | +# docker run --rm -it -d --publish 8888:8888 --expose 8888 \ |
| 44 | +# --name fn-basic-docker-api \ |
| 45 | +# -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
| 46 | +# fn-basic-docker-api:es |
| 47 | + |
| 48 | +docker run --publish 8888:8888 --expose 8888 \ |
| 49 | + --name fn-basic-docker-api \ |
| 50 | + -v "$SCRIPTDIR:/FN-BEES-Services/" \ |
| 51 | + fn-basic-docker-api:es |
| 52 | + |
| 53 | +# docker run --rm --platform linux/amd64 -it -d \ |
| 54 | +# --name fn-cicd-basic-api --publish 15555:5555 --expose 5555 \ |
| 55 | +# --network bridge \ |
| 56 | +# -e ES_HOST=http://host.docker.internal:9203 \ |
| 57 | +# -v "$SCRIPTDIR:/app/FN-Basic-Services/" \ |
| 58 | +# fn-cicd-basic-api:es |
| 59 | + |
| 60 | + |
0 commit comments