-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Kapim/master
separation of services
- Loading branch information
Showing
11 changed files
with
98 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Dockerfile | ||
docker/docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM arcor2/arcor2_base | ||
|
||
RUN ln -s /root/arcor2/docker/start-arserver.sh /start.sh | ||
|
||
expose 6789 | ||
|
||
CMD /start.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM python:3 | ||
|
||
RUN cd \ | ||
&& git clone https://github.com/capripot/wait-for.git \ | ||
&& cd wait-for \ | ||
&& git checkout http-tests \ | ||
&& cp wait-for /wait-for | ||
|
||
RUN pip install --upgrade setuptools PyYAML | ||
|
||
COPY . /root/arcor2/ | ||
|
||
RUN cd ~/arcor2 \ | ||
&& pip install -e . | ||
|
||
RUN mkdir -p ~/project | ||
ENV PYTHONPATH ~ | ||
ENV ARCOR2_PROJECT_PATH /root/project | ||
|
||
|
||
CMD ["/bin/sh", "/start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM arcor2/arcor2_base | ||
|
||
RUN ln -s /root/arcor2/docker/start-build.sh /start.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM arcor2/arcor2_base | ||
|
||
RUN ln -s /root/arcor2/docker/start-execution.sh /start.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
version: '3' | ||
|
||
services: | ||
arserver: | ||
image: arcor2/arcor2_kinali | ||
container_name: arserver | ||
depends_on: | ||
- project | ||
- build | ||
- execution | ||
ports: | ||
- "6789:6789" | ||
environment: | ||
- ARCOR2_PERSISTENT_STORAGE_URL=http://project:11000 | ||
- ARCOR2_EXECUTION_URL=ws://execution:6790 | ||
build: | ||
image: arcor2/arcor2_build | ||
container_name: build | ||
execution: | ||
image: arcor2/arcor2_execution | ||
container_name: execution | ||
environment: | ||
- ARCOR2_BUILDER_URL=http://build:5007 | ||
project: | ||
image: kinalisoft/storage:0.6.1 | ||
container_name: "project" | ||
ports: | ||
- "11000-11001:11000-11001" | ||
environment: | ||
MONGODB_URL: mongodb:27017 | ||
links: | ||
- mongodb | ||
depends_on: | ||
- mongodb | ||
|
||
mongodb: | ||
image: mongo:4.2.0-bionic | ||
container_name: "mongodb" | ||
environment: | ||
- MONGO_DATA_DIR=/data/db | ||
- MONGO_LOG_DIR=/dev/null | ||
volumes: | ||
- mongodb:/data/db | ||
expose: | ||
- "27017" | ||
|
||
volumes: | ||
mongodb: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd /root/arcor2/arcor2/user_objects || exit | ||
python upload.py | ||
arcor2_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
arcor2_builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
arcor2_manager |