mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-06-27 03:20:10 +00:00
fix(docker): fix docker release (#70)
This commit is contained in:
parent
0c04799e0a
commit
7b1613c362
@ -4,3 +4,4 @@ mybatis-generator-config.xml
|
|||||||
application-default.properties
|
application-default.properties
|
||||||
reasoner.sh
|
reasoner.sh
|
||||||
dev/release/python/Dockerfile
|
dev/release/python/Dockerfile
|
||||||
|
dev/release/docker-compose.yml
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
<mainClass>com.antgroup.openspg.builder.runner.local.LocalBuilderMain</mainClass>
|
||||||
</manifest>
|
</manifest>
|
||||||
</archive>
|
</archive>
|
||||||
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
<outputDirectory>../../../dev/release/python/lib</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
@ -12,7 +12,9 @@ services:
|
|||||||
- elasticsearch
|
- elasticsearch
|
||||||
command: [
|
command: [
|
||||||
'--server.repository.impl.jdbc.host=mysql',
|
'--server.repository.impl.jdbc.host=mysql',
|
||||||
'--server.repository.impl.jdbc.password=openspg'
|
'--server.repository.impl.jdbc.password=openspg',
|
||||||
|
'--cloudext.graphstore.url=tugraph://tugraph:9090?graphName=default&timeout=50000&accessId=admin&accessKey=73@TuGraph',
|
||||||
|
'--cloudext.searchengine.url=elasticsearch://elasticsearch:9200?scheme=http'
|
||||||
]
|
]
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
@ -49,8 +51,3 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- discovery.type=single-node
|
- discovery.type=single-node
|
||||||
- xpack.security.enabled=false
|
- xpack.security.enabled=false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,4 +35,6 @@ RUN python3 -m venv /openspg_venv && \
|
|||||||
pip3 install $PIP_PKGS && \
|
pip3 install $PIP_PKGS && \
|
||||||
echo "if (tty -s); then \n . /openspg_venv/bin/activate \nfi" >> ~/.bashrc
|
echo "if (tty -s); then \n . /openspg_venv/bin/activate \nfi" >> ~/.bashrc
|
||||||
|
|
||||||
|
ADD lib/*.jar /openspg_venv/lib/python3.8/site-packages/knext/lib
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/OpenSPG/openspg.git
|
RUN git clone --depth=1 https://github.com/OpenSPG/openspg.git
|
@ -20,4 +20,4 @@ setuptools==60.2.0
|
|||||||
openspg-nn4k==0.0.2-beta1
|
openspg-nn4k==0.0.2-beta1
|
||||||
Jinja2==3.1.2
|
Jinja2==3.1.2
|
||||||
cachetools==5.3.2
|
cachetools==5.3.2
|
||||||
numpy=1.24.4
|
numpy==1.24.4
|
@ -130,7 +130,7 @@
|
|||||||
<mainClass>com.antgroup.openspg.reasoner.runner.local.LocalReasonerMain</mainClass>
|
<mainClass>com.antgroup.openspg.reasoner.runner.local.LocalReasonerMain</mainClass>
|
||||||
</manifest>
|
</manifest>
|
||||||
</archive>
|
</archive>
|
||||||
<outputDirectory>../../../python/knext/knext/lib</outputDirectory>
|
<outputDirectory>../../../dev/release/python/lib</outputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user