Commit d067b323 authored by lixiaofang's avatar lixiaofang

doris_dymas

parent 6741ac77
This diff is collapsed.
......@@ -43,8 +43,8 @@ RUN apk add --no-cache --virtual .build-deps \
&& pip install --no-cache-dir -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \
&& mkdir -p /data/log/dymas/app
ENV GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/dymas/doris/deploy_prod.xml" \
DJANGO_SETTINGS_MODULE=doris.prod
ENV GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/dymas/dymas/deploy_prod.xml" \
DJANGO_SETTINGS_MODULE=dymas.prod
COPY . /srv/apps/dymas/
......
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info config_name="app" version="1.0"/>
<config name="application_name" value="doris"/>
<config name="application_name" value="dymas"/>
<config name="service_list">
<element value="doris"/>
<element value="dymas"/>
</config>
<config name="initializer_list">
<element value="doris.doris_injection"/>
<element value="dymas.doris_injection"/>
<element value="rank.views.strategy"/>
<element value="rank.views.interpose"/>
<element value="rank.views.stat"/>
......@@ -37,6 +37,6 @@
<element value="search.views.content_aggre"/>
<element value="search.views.relation_search"/>
</config>
<config name="statuses" value="doris.system:statuses"/>
<config name="statuses" value="dymas.system:statuses"/>
</gm_rpcd_config>
# coding=utf-8
from doris.base import *
from dymas.base import *
from .log_settings import *
from celery import *
......
......@@ -2,7 +2,7 @@ from django.http import HttpResponse
from libs.es import health
from rank.models import Strategy
from libs.cache import redis_client
from doris.celery import debug_task
from dymas.celery import debug_task
import json, traceback
......
......@@ -17,7 +17,7 @@ import json
from django.conf.urls import url, include
from django.contrib import admin
from libs.http import render_json
from doris.system import statuses
from dymas.system import statuses
http_statuses = render_json(statuses)
......
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "doris.devel")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dymas.devel")
try:
from django.core.management import execute_from_command_line
except ImportError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment