diff --git a/Dockerfile.worker b/Dockerfile.worker index 4fd6b99..f8b28a8 100755 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -28,7 +28,7 @@ WORKDIR /home/autodockgpu/AutoDock-GPU ENV GPU_INCLUDE_PATH /usr/local/cuda/include ENV GPU_LIBRARY_PATH /usr/local/cuda/lib64 -RUN make DEVICE=CUDA NUMWI=128 +RUN make DEVICE=CUDA NUMWI=128 TARGETS="80" FROM autodockbuild as mglinstall diff --git a/djangoAPI/__pycache__/settings.cpython-39.pyc b/djangoAPI/__pycache__/settings.cpython-39.pyc index fd1c095..2afcf2e 100644 Binary files a/djangoAPI/__pycache__/settings.cpython-39.pyc and b/djangoAPI/__pycache__/settings.cpython-39.pyc differ diff --git a/djangoAPI/__pycache__/urls.cpython-39.pyc b/djangoAPI/__pycache__/urls.cpython-39.pyc index 6a035af..85d9cda 100644 Binary files a/djangoAPI/__pycache__/urls.cpython-39.pyc and b/djangoAPI/__pycache__/urls.cpython-39.pyc differ diff --git a/djangoAPI/settings.py b/djangoAPI/settings.py index 1a4d965..079772b 100755 --- a/djangoAPI/settings.py +++ b/djangoAPI/settings.py @@ -116,7 +116,7 @@ 'NAME': config("POSTGRES_DB"), 'USER': config("POSTGRES_USER"), 'PASSWORD': config("POSTGRES_PASSWORD"), - 'HOST': '172.26.0.2', + 'HOST': 'db', 'PORT': '5432', } } @@ -187,4 +187,4 @@ EMAIL_HOST_PASSWORD=config("EMAIL_HOST_PASSWORD") EMAIL_USE_TLS=config("EMAIL_USE_TLS") EMAIL_PORT=config("EMAIL_PORT") -EMAIL_HOST=config("EMAIL_HOST") \ No newline at end of file +EMAIL_HOST=config("EMAIL_HOST") diff --git a/djangoAPI/urls.py b/djangoAPI/urls.py index 16c79fe..0ab6247 100755 --- a/djangoAPI/urls.py +++ b/djangoAPI/urls.py @@ -6,22 +6,22 @@ from fiocruz import views router = routers.DefaultRouter() -router.register(r'back/process-plasmodocking', views.ProcessPlasmodockingViewSet) +router.register(r'Plasmodocking/back/process-plasmodocking', views.ProcessPlasmodockingViewSet) urlpatterns = [ path('', include(router.urls)), path('admin/', admin.site.urls), path('api-auth/', include('rest_framework.urls')), - path('back/api_delete//', views.api_delete, name='api_delete'), - path('back/api_download//', views.download_file, name='api_download'), - path('back/get_resultado//', views.get_resultado, name='get_resultado'), + path('Plasmodocking/back/api_delete//', views.api_delete, name='api_delete'), + path('Plasmodocking/back/api_download//', views.download_file, name='api_download'), + path('Plasmodocking/back/get_resultado//', views.get_resultado, name='get_resultado'), path('macro/', views.macro, name='macro'), path('macro_SR/', views.macro_SR, name='macro_SR'), path('macro_ComRedocking_save/', views.macro_save_ComRedocking, name='macro_save_CR'), path('macro_SemRedocking_save/', views.macro_save_SemRedocking, name='macro_save_SR'), - path('back/create-user/', views.CreateUserView.as_view(), name='create-user'), - path('back/authenticate', views.AuthenticateUser.as_view(), name='authenticate'), - path('back/user', views.GetUserDetails.as_view(), name='get_user_details'), - path('back/view3d/////', views.view3d, name='view3d'), + path('Plasmodocking/back/create-user/', views.CreateUserView.as_view(), name='create-user'), + path('Plasmodocking/back/authenticate', views.AuthenticateUser.as_view(), name='authenticate'), + path('Plasmodocking/back/user', views.GetUserDetails.as_view(), name='get_user_details'), + path('Plasmodocking/back/view3d/////', views.view3d, name='view3d'), ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file diff --git a/fiocruz/__pycache__/views.cpython-39.pyc b/fiocruz/__pycache__/views.cpython-39.pyc index 5977c6c..7d2dbf7 100644 Binary files a/fiocruz/__pycache__/views.cpython-39.pyc and b/fiocruz/__pycache__/views.cpython-39.pyc differ