Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
saturn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
saturn
Commits
ba20126d
Commit
ba20126d
authored
Nov 21, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete app_conf.xml
parent
f65d61a7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
61 deletions
+13
-61
deploy.yaml.temp
deploy.yaml.temp
+1
-1
Dockerfile
deploy/prod/Dockerfile
+4
-6
app_conf.xml
deploy/prod/app_conf.xml
+0
-14
Dockerfile
deploy/stage/Dockerfile
+4
-6
app_conf.xml
deploy/stage/app_conf.xml
+0
-14
Dockerfile
deploy/test/Dockerfile
+4
-6
app_conf.xml
deploy/test/app_conf.xml
+0
-14
No files found.
deploy.yaml.temp
View file @
ba20126d
...
...
@@ -45,7 +45,7 @@ spec:
- command:
- /bin/bash
- -c
- gunicorn
gm_rpcd
.wsgi:application --bind=0.0.0.0:80 --workers=16 --worker-class=gevent
- gunicorn
saturn
.wsgi:application --bind=0.0.0.0:80 --workers=16 --worker-class=gevent
--worker-connections=1024 --timeout 600
image: ccr.ccs.tencentyun.com/gm-ai/like-saturn:<IMAGE_TAG>
imagePullPolicy: Always
...
...
deploy/prod/Dockerfile
View file @
ba20126d
...
...
@@ -2,14 +2,12 @@ FROM ccr.ccs.tencentyun.com/gm-ai/like-configs:prod as configs
FROM
ccr.ccs.tencentyun.com/gm-ai/alpha-python:3.6
COPY
--from=configs /etc/gm-config /etc/gm-config
RUN
mkdir
-p
/data/log/s
ms
/app
COPY
./requirements.txt /srv/apps/s
ms
/
WORKDIR
/srv/apps/s
ms
/
RUN
mkdir
-p
/data/log/s
aturn
/app
COPY
./requirements.txt /srv/apps/s
aturn
/
WORKDIR
/srv/apps/s
aturn
/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/sms/app_conf.xml"
ENV
PROJECT_ENV=prod
COPY
./deploy/prod/app_conf.xml .
COPY
./deploy/prod/settings_local.py ./settings/
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn
saturn
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
deploy/prod/app_conf.xml
deleted
100644 → 0
View file @
f65d61a7
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"sentry_dsn"
value=
"http://39f1236352c04a80826878f459ef1b05:333fbf94113c4879addaf656f233eb8e@sentry.igengmei.com/138"
/>
<config
name=
"application_name"
value=
"saturn"
/>
<config
name=
"service_list"
>
<element
value=
"saturn"
/>
</config>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
<config
name=
"initializer_list"
>
<element
value=
"saturn.django_init"
/>
</config>
</gm_rpcd_config>
\ No newline at end of file
deploy/stage/Dockerfile
View file @
ba20126d
...
...
@@ -2,14 +2,12 @@ FROM ccr.ccs.tencentyun.com/gm-ai/like-configs:stage as configs
FROM
ccr.ccs.tencentyun.com/gm-ai/alpha-python:3.6
COPY
--from=configs /etc/gm-config /etc/gm-config
RUN
mkdir
-p
/data/log/s
ms
/app
COPY
./requirements.txt /srv/apps/s
ms
/
WORKDIR
/srv/apps/s
ms
/
RUN
mkdir
-p
/data/log/s
aturn
/app
COPY
./requirements.txt /srv/apps/s
aturn
/
WORKDIR
/srv/apps/s
aturn
/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/sms/app_conf.xml"
ENV
PROJECT_ENV=stage
COPY
./deploy/stage/app_conf.xml .
COPY
./deploy/stage/settings_local.py ./settings/
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn
saturn
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
deploy/stage/app_conf.xml
deleted
100644 → 0
View file @
f65d61a7
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"sentry_dsn"
value=
"http://39f1236352c04a80826878f459ef1b05:333fbf94113c4879addaf656f233eb8e@sentry.igengmei.com/138"
/>
<config
name=
"application_name"
value=
"saturn"
/>
<config
name=
"service_list"
>
<element
value=
"saturn"
/>
</config>
<config
name=
"initializer_list"
>
<element
value=
"saturn.django_init"
/>
</config>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
</gm_rpcd_config>
\ No newline at end of file
deploy/test/Dockerfile
View file @
ba20126d
...
...
@@ -2,14 +2,12 @@ FROM ccr.ccs.tencentyun.com/gm-ai/like-configs:test as configs
FROM
ccr.ccs.tencentyun.com/gm-ai/alpha-python:3.6
COPY
--from=configs /etc/gm-config /etc/gm-config
RUN
mkdir
-p
/data/log/s
ms
/app
COPY
./requirements.txt /srv/apps/s
ms
/
WORKDIR
/srv/apps/s
ms
/
RUN
mkdir
-p
/data/log/s
aturn
/app
COPY
./requirements.txt /srv/apps/s
aturn
/
WORKDIR
/srv/apps/s
aturn
/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/sms/app_conf.xml"
ENV
PROJECT_ENV=test
COPY
./deploy/test/app_conf.xml .
COPY
./deploy/test/settings_local.py ./settings/
CMD
bash -c 'source ~/.bashrc && gunicorn
gm_rpcd
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn
saturn
.wsgi:application -w 16 -b 0.0.0.0:80 -k gevent'
deploy/test/app_conf.xml
deleted
100644 → 0
View file @
f65d61a7
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"sentry_dsn"
value=
"http://39f1236352c04a80826878f459ef1b05:333fbf94113c4879addaf656f233eb8e@sentry.igengmei.com/138"
/>
<config
name=
"application_name"
value=
"saturn"
/>
<config
name=
"service_list"
>
<element
value=
"saturn"
/>
</config>
<config
name=
"initializer_list"
>
<element
value=
"saturn.django_init"
/>
</config>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
</gm_rpcd_config>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment