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
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
sun
Commits
6ce08a78
Commit
6ce08a78
authored
5 years ago
by
钟尚武
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'deploy/like-stage'
增加C_FORCE_ROOT环境变量(Celery Root 用户启动) See merge request
!405
parents
b66913c8
9ccc028f
Pipeline
#4859
passed with stage
Changes
3
Pipelines
2
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 @
6ce08a78
...
@@ -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'
This diff is collapsed.
Click to expand it.
deploy/stage/Dockerfile
View file @
6ce08a78
...
@@ -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'
This diff is collapsed.
Click to expand it.
deploy/test/Dockerfile
View file @
6ce08a78
...
@@ -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'
This diff is collapsed.
Click to expand it.
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