Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Castellum
castellum
Commits
cd37a076
Commit
cd37a076
authored
Apr 26, 2018
by
Bengfort
Browse files
install uwsgi
parent
e6e3acc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
castellum_core/Dockerfile
View file @
cd37a076
FROM
python:3.6-alpine3.7
ENV
PYTHONUNBUFFERED 1
RUN
apk update
&&
apk add gcc make nodejs-npm python-dev musl-dev postgresql-dev openldap openldap-dev cyrus-sasl-dev
RUN
apk update
&&
apk add gcc make
uwsgi uwsgi-python3
nodejs-npm python-dev musl-dev postgresql-dev openldap openldap-dev cyrus-sasl-dev
COPY
./ code/
WORKDIR
code/
...
...
castellum_core/uwsgi.ini
0 → 100644
View file @
cd37a076
[uwsgi]
chdir
=
/code/castellum_core/castellum_core
wsgi-file
=
castellum_core/wsgi.py
socket
=
127.0.0.1:9000
plugin
=
python3
; master=true
; vacuum=true
env
=
DJANGO_SETTINGS_MODULE=castellum_core.settings.stage
docker-compose.yml
View file @
cd37a076
...
...
@@ -19,7 +19,7 @@ services:
sh -c "cd castellum_core &&
make bootstrap &&
python castellum_core/manage.py collectstatic --no-input &&
python castellum_core/manage.py runserver 0.0.0.0:8000
"
uwsgi uwsgi.ini
"
volumes
:
-
.:/code
depends_on
:
...
...
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