-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docker / docker-compose build + semi-automatic deployment #22
Conversation
@t29mato please notice that the CodeQL will not work until we make this repository as public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulling supercon2 (lfoppiano/supercon2:1.2)...
ERROR: pull access denied for lfoppiano/supercon2, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I think I need a permission
Ah sorry, I didn't push it yet over there... so you should do that locally for the time being ... |
ok
…On Fri, Feb 18, 2022 at 5:01 PM Luca Foppiano ***@***.***> wrote:
Ah sorry, I didn't push it yet over there... so you should do that locally
for the time being ...
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHE7JDGRVANREZ7SQNZIFB3U3X4HJANCNFSM5OW4YRTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
How did you mongorestore on docker-compose? |
after you |
Exactly! I could import them as you said |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one comment, but I don't think it's a problem.
...follow up of #20, it solves #18
Docker image
Build
Run
For connecting to mongodb is possible to connect directly to the mongodb IP (to be specified in
config-docker.yaml
), if this is not possible then it's recommended to use docker-compose.Docker compose
The docker compose is going to mount the volume
resources/mongo
as/data/db
in the container. And mapping the mongodb container with port 27018 (to avoid conflicts with the default mongodb port).The configuration file
supercon2/config-docker.yaml
is also mapped in the supercon2 container/opt/service/supercon2/config.yaml