Skip to content

Commit 2369d45

Browse files
committed
Trimmed unnecessary dependencies, switched port to 8000/8443
1 parent dd30e4e commit 2369d45

3 files changed

Lines changed: 462 additions & 652 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ services:
33
container_name: physics-workload-nginx
44
image: nginx:latest
55
ports:
6-
- "80:80"
7-
- "443:443"
6+
- "8000:80"
7+
- "8443:443"
88
volumes:
99
- type: bind
1010
source: "${PROJECT_PATH}/nginx/app.conf"
1111
target: "/etc/nginx/conf.d/default.conf"
1212
- type: bind
13-
source: "${PROJECT_PATH}/nginx/"
14-
target: "/var/www/physics-workload/nginx/"
13+
source: "${PROJECT_PATH}/logs/"
14+
target: "/var/www/physics-workload/logs/"
1515
- type: bind
1616
source: "${PROJECT_PATH}/staticfiles/"
1717
target: "/var/www/physics-workload/staticfiles/"
@@ -21,9 +21,6 @@ services:
2121
- type: bind
2222
source: "/etc/tls/private/"
2323
target: "/etc/tls/private/"
24-
- type: bind
25-
source: "${PROJECT_PATH}/logs/"
26-
target: "/var/www/physics-workload/logs/"
2724

2825
restart: unless-stopped
2926
depends_on:
@@ -36,8 +33,6 @@ services:
3633
context: .
3734
expose:
3835
- "8000"
39-
ports:
40-
- "8000:8000"
4136
env_file:
4237
- "./.env.default"
4338
- "./.env"

pyproject.toml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,48 +26,40 @@ classifiers = [
2626
]
2727

2828
dependencies = [
29-
"asgiref>=3.8.1",
30-
"autopep8>=2.3.2",
31-
"django-faicon>=0.1.0",
32-
"django==5.2.4",
33-
"django-import-export>=4.3.5",
34-
"gunicorn>=23.0.0",
35-
"iommi==7.14.3",
36-
"pycodestyle>=2.12.1",
37-
"python-dotenv>=1.0.1",
38-
"pytz>=2025.1",
39-
"sqlparse>=0.5.3",
40-
"unipath>=1.1",
41-
"whitenoise>=6.8.2",
42-
"django-model-utils>=5.0.0",
43-
"parso>=0.8.4",
44-
"django-simple-history>=3.8.0",
45-
"simpleeval>=1.0.3",
46-
"django-plotly-dash>=2.4.5",
47-
"dash-bootstrap-templates>=2.1.0",
48-
"python-ldap>=3.4.4",
49-
"django-auth-adfs>=1.15.0",
50-
"python-decouple>=3.8",
51-
"pandas>=2.2.3",
52-
"uwsgi>=2.0.29",
53-
"markdown>=3.8.2",
54-
"django-markdownify>=0.9.5",
29+
"pytz",
30+
"whitenoise",
31+
"simpleeval",
32+
"asgiref",
33+
"uwsgi",
34+
"django>=5",
35+
"django-simple-history",
36+
"django-auth-adfs",
37+
"django-markdownify",
38+
"django-plotly-dash",
39+
"dash-bootstrap-templates",
40+
"iommi>=7.14.5",
41+
"python-ldap",
42+
"python-decouple",
43+
"pandas",
44+
"markdown",
5545
]
5646

5747
[project.optional-dependencies]
5848
develop = [
59-
"copier>=9.8.0",
60-
"bump-my-version>=0.1.0",
61-
"check-manifest>=0.5.0",
62-
"copier>=9.8.0",
63-
"django-fastdev>=1.13.0",
64-
"django-pycharm-breakpoint>=0.3.0",
49+
"build",
50+
"bump-my-version",
51+
"check-manifest",
52+
"codespell>=2.4,<2.5",
6553
"hatchling",
66-
"pytest>=8.4.1",
67-
"pytest-cov>=6.2.1",
68-
"ruff>=0.12.4",
54+
"mdformat>=0.7.22,<0.8",
55+
"mdformat-tables>=1",
56+
"pytest",
57+
"pytest-cov",
58+
"ruff",
6959
"twine",
70-
"wheel",
60+
"uv",
61+
"django-fastdev",
62+
"django-pycharm-breakpoint",
7163
]
7264

7365
[project.scripts]

0 commit comments

Comments
 (0)