Skip to content

Commit

Permalink
Merge pull request #1 from georgemjohnson11/containerize-orchestratio…
Browse files Browse the repository at this point in the history
…n-neptune

Update compose and environment vars
  • Loading branch information
rkrishnasanka authored Aug 15, 2022
2 parents 5aebcd0 + 44125a7 commit 25f9f37
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN curl -sL --location https://deb.nodesource.com/setup_15.x | bash -
RUN apt-get -y install nodejs

# Pyenv for our baseline python environment for poetry later on.
RUN git clone git://github.com/yyuu/pyenv.git .pyenv
RUN git clone https://github.com/yyuu/pyenv.git .pyenv
RUN git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv

ENV HOME /
Expand Down Expand Up @@ -117,8 +117,3 @@ ADD start.sh .
EXPOSE 3000
EXPOSE 8080
CMD ["sh", "start.sh"]





8 changes: 4 additions & 4 deletions Fluigi-Cloud/.env
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
NEPTUNE_MONGOURL="mongodb://root:rootpassword@localhost:27017/?authMechanism=DEFAULT"
NEPTUNE_MONGOURL="mongodb://root:rootpassword@backend_database:27017"
NEPTUNE_SESSIONSECRET="randomsecret"
NEPTUNE_AWS_URL="localhost:9000"
NEPTUNE_AWS_URL="s3local:9000"
NEPTUNE_AWSID=""
NEPTUNE_AWSKEY=""
NEPTUNE_S3_BUCKET_ID=""
NEPTUNE_REDIS_HOST="localhost"
NEPTUNE_REDIS_PORT="6379"
NEPTUNE_REDIS_HOST="broker"
NEPTUNE_REDIS_PORT="6379"
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
version: "3"
services:

neptune:
build:
context: .
ports:
- 8080:8080
- 3000:3000
links:
- "backend_database"
depends_on:
- "s3local"
- "broker"
- "primitives-server"
- "worker"
- "backend_database"

s3local:
image: minio/minio
ports:
Expand Down
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ git submodule update --recursive
cd ./Fluigi-Cloud
git fetch origin dev
git checkout dev
npm install
npm install --legacy-peer-deps
sudo chown -R $USER:$GROUP jobs/

cd ..

cd ./Neptune-UI
git fetch origin dev
git checkout origin dev
npm install
npm install --legacy-peer-deps
npm run build

cp -vr ./dist ../Fluigi-Cloud/dist
Expand Down

0 comments on commit 25f9f37

Please sign in to comment.