Skip to content

Commit

Permalink
👷 Add Dependabot and external dependencies, to get automatic upgrade …
Browse files Browse the repository at this point in the history
…PRs (#111)
  • Loading branch information
tiangolo authored Sep 13, 2021
1 parent 0ea83f2 commit f4ed086
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 15 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
# Development/testing dependencies
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
# Docker image dependencies
- package-ecosystem: "pip"
directory: "/docker-images"
schedule:
interval: "daily"
7 changes: 4 additions & 3 deletions docker-images/python2.7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh /

RUN bash /install-nginx-debian.sh

# Install requirements: uWSGI
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

EXPOSE 80

# Expose 443, in case of LTS / HTTPS
EXPOSE 443

# Install uWSGI
RUN pip install uwsgi

# Remove default configuration from Nginx
RUN rm /etc/nginx/conf.d/default.conf
# Copy the base uWSGI ini file to enable default dynamic uwsgi process number
Expand Down
7 changes: 4 additions & 3 deletions docker-images/python3.6.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh /

RUN bash /install-nginx-debian.sh

# Install requirements: uWSGI
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

EXPOSE 80

# Expose 443, in case of LTS / HTTPS
EXPOSE 443

# Install uWSGI
RUN pip install uwsgi

# Remove default configuration from Nginx
RUN rm /etc/nginx/conf.d/default.conf
# Copy the base uWSGI ini file to enable default dynamic uwsgi process number
Expand Down
7 changes: 4 additions & 3 deletions docker-images/python3.7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh /

RUN bash /install-nginx-debian.sh

# Install requirements: uWSGI
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

EXPOSE 80

# Expose 443, in case of LTS / HTTPS
EXPOSE 443

# Install uWSGI
RUN pip install uwsgi

# Remove default configuration from Nginx
RUN rm /etc/nginx/conf.d/default.conf
# Copy the base uWSGI ini file to enable default dynamic uwsgi process number
Expand Down
7 changes: 4 additions & 3 deletions docker-images/python3.8.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh /

RUN bash /install-nginx-debian.sh

# Install requirements: uWSGI
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

EXPOSE 80

# Expose 443, in case of LTS / HTTPS
EXPOSE 443

# Install uWSGI
RUN pip install uwsgi

# Remove default configuration from Nginx
RUN rm /etc/nginx/conf.d/default.conf
# Copy the base uWSGI ini file to enable default dynamic uwsgi process number
Expand Down
7 changes: 4 additions & 3 deletions docker-images/python3.9.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ COPY install-nginx-debian.sh /

RUN bash /install-nginx-debian.sh

# Install requirements: uWSGI
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

EXPOSE 80

# Expose 443, in case of LTS / HTTPS
EXPOSE 443

# Install uWSGI
RUN pip install uwsgi

# Remove default configuration from Nginx
RUN rm /etc/nginx/conf.d/default.conf
# Copy the base uWSGI ini file to enable default dynamic uwsgi process number
Expand Down
1 change: 1 addition & 0 deletions docker-images/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uwsgi==2.0.19.1

0 comments on commit f4ed086

Please sign in to comment.