updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-02-28 18:57:44 +08:00
parent cf1d1ca878
commit ae5ea03043
19 changed files with 236 additions and 59 deletions

View File

@@ -2,4 +2,4 @@ from celery import Celery
# celery app instance
celery_app = Celery(__name__)
celery_app.config_from_object('config.celery')
celery_app.config_from_object('config')

View File

@@ -5,7 +5,7 @@ from datetime import datetime
import requests
from celery.utils.log import get_logger
from config.common import PROJECT_DEPLOY_FILE_FOLDER, PROJECT_LOGS_FOLDER
from config import PROJECT_DEPLOY_FILE_FOLDER, PROJECT_LOGS_FOLDER
from db.manager import db_manager
from .celery import celery_app
import subprocess

View File

@@ -6,7 +6,7 @@ import requests
from bson import ObjectId
from celery.utils.log import get_logger
from config.common import PROJECT_DEPLOY_FILE_FOLDER, PROJECT_LOGS_FOLDER
from config import PROJECT_DEPLOY_FILE_FOLDER, PROJECT_LOGS_FOLDER
from db.manager import db_manager
from .celery import celery_app
import subprocess