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
66f7460f
Commit
66f7460f
authored
Nov 21, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ba20126d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
3 deletions
+53
-3
Dockerfile
deploy/prod/Dockerfile
+3
-1
app_conf.xml
deploy/prod/app_conf.xml
+15
-0
Dockerfile
deploy/stage/Dockerfile
+3
-1
app_conf.xml
deploy/stage/app_conf.xml
+15
-0
Dockerfile
deploy/test/Dockerfile
+3
-1
app_conf.xml
deploy/test/app_conf.xml
+14
-0
No files found.
deploy/prod/Dockerfile
View file @
66f7460f
...
...
@@ -8,6 +8,8 @@ WORKDIR /srv/apps/saturn/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/saturn/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 saturn.wsgi:application -w
16
-b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn saturn.wsgi:application -w
4
-b 0.0.0.0:80 -k gevent'
deploy/prod/app_conf.xml
0 → 100644
View file @
66f7460f
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
<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>
</gm_rpcd_config>
~
\ No newline at end of file
deploy/stage/Dockerfile
View file @
66f7460f
...
...
@@ -8,6 +8,8 @@ WORKDIR /srv/apps/saturn/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/saturn/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 saturn.wsgi:application -w
16
-b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn saturn.wsgi:application -w
4
-b 0.0.0.0:80 -k gevent'
deploy/stage/app_conf.xml
0 → 100644
View file @
66f7460f
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
<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>
</gm_rpcd_config>
~
\ No newline at end of file
deploy/test/Dockerfile
View file @
66f7460f
...
...
@@ -8,6 +8,8 @@ WORKDIR /srv/apps/saturn/
RUN
pip3
install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
requirements.txt
COPY
. .
ENV
GM_RPCD_DEPLOY_CONF_PATH="/srv/apps/saturn/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 saturn.wsgi:application -w
16
-b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn saturn.wsgi:application -w
4
-b 0.0.0.0:80 -k gevent'
deploy/test/app_conf.xml
0 → 100644
View file @
66f7460f
<?xml version="1.0" encoding="utf-8"?>
<gm_rpcd_config>
<info
config_name=
"app"
version=
"1.0"
/>
<config
name=
"log_dir"
value=
"/data/log/saturn/app"
/>
<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>
</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