Skip to content

Commit 7c73a47

Browse files
committed
bump: lots of deps, fixes here and there
1 parent 23f1abc commit 7c73a47

File tree

10 files changed

+107
-87
lines changed

10 files changed

+107
-87
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- name: Install ldap dependencies
2020
run: sudo apt-get install libldap2-dev libsasl2-dev
2121
- uses: actions/checkout@v2
22-
- name: Set up Python 3.8
22+
- name: Set up Python 3.13
2323
uses: actions/setup-python@v2
2424
with:
25-
python-version: 3.8
25+
python-version: 3.13
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-trixie
1+
FROM python:3.13-trixie
22
WORKDIR /opt/proxstar
33
RUN apt-get update -y && apt-get install -y python3-dev libldap2-dev libsasl2-dev ldap-utils git
44
COPY requirements.txt .

HACKING/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
proxstar-rq-scheduler:
2222
build:
2323
context: ..
24-
env_file: .env.local
24+
env_file: .env
2525
entrypoint: ./start_scheduler.sh
2626
networks:
2727
- proxstar
@@ -30,7 +30,7 @@ services:
3030
proxstar-rq:
3131
build:
3232
context: ..
33-
env_file: .env.local
33+
env_file: .env
3434
entrypoint: ./start_worker.sh
3535
networks:
3636
- proxstar
@@ -42,7 +42,7 @@ services:
4242
ports:
4343
- "8000:8000"
4444
- "8001:8001"
45-
env_file: .env.local
45+
env_file: .env
4646
entrypoint: ["gunicorn", "proxstar:app", "--bind=0.0.0.0:8000"]
4747
networks:
4848
- proxstar

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Proxstar
22
===========
33

4-
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
4+
[![Python 3.13](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/release/python-3130/)
5+
[![Proxstar](https://github.com/ComputerScienceHouse/proxstar/actions/workflows/python-app.yml/badge.svg)](https://github.com/ComputerScienceHouse/proxstar/actions/workflows/python-app.yml)
56

67
Proxstar is a proxmox VM web management tool used by [Rochester Institute of Technology](https://rit.edu/)'s [Computer Science House](https://csh.rit.edu).
78

config.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@
2323

2424
# OIDC
2525
OIDC_ISSUER = environ.get('PROXSTAR_OIDC_ISSUER', 'https://sso.csh.rit.edu/auth/realms/csh')
26-
OIDC_CLIENT_CONFIG = {
27-
'client_id': environ.get('PROXSTAR_CLIENT_ID', 'proxstar'),
28-
'client_secret': environ.get('PROXSTAR_CLIENT_SECRET', ''),
29-
'post_logout_redirect_uris': [
30-
environ.get('PROXSTAR_REDIRECT_URI', 'https://proxstar.csh.rit.edu/logout')
31-
],
32-
}
26+
OIDC_CLIENT_ID = environ.get('PROXSTAR_CLIENT_ID', 'proxstar')
27+
OIDC_CLIENT_SECRET = environ.get('PROXSTAR_CLIENT_SECRET', '')
3328

3429
# Proxmox
3530
PROXMOX_HOSTS = [host.strip() for host in environ.get('PROXSTAR_PROXMOX_HOSTS', '').split(',')]
@@ -55,7 +50,7 @@
5550

5651
# REDIS
5752
REDIS_HOST = environ.get('PROXSTAR_REDIS_HOST', 'localhost')
58-
RQ_DASHBOARD_REDIS_HOST = environ.get('PROXSTAR_REDIS_HOST', 'localhost')
53+
RQ_DASHBOARD_REDIS_URL = "redis://" + environ.get('PROXSTAR_REDIS_HOST', 'localhost') + ":" + environ.get('PROXSTAR_REDIS_PORT', '6379') + "/0"
5954
REDIS_PORT = int(environ.get('PROXSTAR_REDIS_PORT', '6379'))
6055

6156
# VNC

0 commit comments

Comments
 (0)