Update app

This commit is contained in:
compute 2024-05-16 18:19:44 +00:00
parent 4dc4cd891f
commit 3bf57e060a
4 changed files with 11 additions and 15 deletions

View File

@ -1,5 +1,5 @@
# pull official base image # pull official base image
FROM python:3.7.2 FROM python:3.8
# set environment varibles # set environment varibles
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONDONTWRITEBYTECODE 1

View File

@ -1,8 +1,8 @@
Django==2.1.4 Django==4.2.13
psycopg2==2.8.3 psycopg2==2.9.9
gunicorn==19.9.0 gunicorn==22.0.0
lxml==4.2.5 lxml==5.2.1
tqdm==4.28.1 tqdm==4.66.4
django-watson==1.5.2 django-watson==1.6.3
django-tables2==2.0.3 django-tables2==2.7.0
django-jchart==0.4.2 django-jchart==0.4.2

View File

@ -1,9 +1,7 @@
version: '3.5'
networks: networks:
default: default:
external: name: traefik_default
name: traefik_default external: true
services: services:
web: web:

View File

@ -1,5 +1,3 @@
version: '3.5'
services: services:
web: web:
build: ./app build: ./app
@ -32,7 +30,7 @@ services:
POSTGRES_DB_NAME: ${POSTGRES_DB_NAME} POSTGRES_DB_NAME: ${POSTGRES_DB_NAME}
expose: expose:
- 5432 - 5432
image: postgres:11.2 image: postgres:12
volumes: volumes:
- ./postgres_data:/var/lib/postgresql/data/ - ./postgres_data:/var/lib/postgresql/data/