Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
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
0
Merge Requests
0
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
谢林臻
sun
Commits
d6765296
Commit
d6765296
authored
Nov 21, 2019
by
zhongshangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加C_FORCE_ROOT环境变量(Celery Root 用户启动)
parent
3fe60ed6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
Dockerfile
deploy/prod/Dockerfile
+1
-0
Dockerfile
deploy/stage/Dockerfile
+1
-0
Dockerfile
deploy/test/Dockerfile
+1
-0
No files found.
deploy/prod/Dockerfile
View file @
d6765296
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY
. .
COPY
. .
ENV
PROJECT_ENV=prod
ENV
PROJECT_ENV=prod
ENV
C_FORCE_ROOT=true
COPY
./deploy/prod/settings_local.py ./sun/
COPY
./deploy/prod/settings_local.py ./sun/
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
deploy/stage/Dockerfile
View file @
d6765296
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY
. .
COPY
. .
ENV
PROJECT_ENV=stage
ENV
PROJECT_ENV=stage
ENV
C_FORCE_ROOT=true
COPY
./deploy/stage/settings_local.py ./sun/
COPY
./deploy/stage/settings_local.py ./sun/
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
deploy/test/Dockerfile
View file @
d6765296
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
...
@@ -9,5 +9,6 @@ RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
COPY
. .
COPY
. .
ENV
PROJECT_ENV=test
ENV
PROJECT_ENV=test
ENV
C_FORCE_ROOT=true
COPY
./deploy/test/settings_local.py ./sun/
COPY
./deploy/test/settings_local.py ./sun/
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
CMD
bash -c 'source ~/.bashrc && gunicorn sun.wsgi:application -w 4 -b 0.0.0.0:80 -k gevent'
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