mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
Merge branch 'mantine' of https://github.com/Dispatcharr/Dispatcharr into Proxy-Redis
This commit is contained in:
commit
b300ee5bcf
113 changed files with 7430 additions and 21597 deletions
|
|
@ -32,7 +32,7 @@ RUN apt-get update && \
|
|||
cd /app/frontend && \
|
||||
npm install && \
|
||||
npm run build && \
|
||||
find . -maxdepth 1 ! -name '.' ! -name 'build' -exec rm -rf '{}' \;
|
||||
find . -maxdepth 1 ! -name '.' ! -name 'dist' -exec rm -rf '{}' \;
|
||||
|
||||
FROM python:3.13-slim
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,9 @@ services:
|
|||
image: dispatcharr/dispatcharr
|
||||
container_name: dispatcharr_dev
|
||||
ports:
|
||||
- "5656:5656"
|
||||
- 5656:5656
|
||||
- 9191:9191
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- ../:/app
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -46,11 +46,12 @@ if [[ ! -f /etc/profile.d/dispatcharr.sh ]]; then
|
|||
echo "export POSTGRES_HOST=$POSTGRES_HOST" >> /etc/profile.d/dispatcharr.sh
|
||||
echo "export POSTGRES_PORT=$POSTGRES_PORT" >> /etc/profile.d/dispatcharr.sh
|
||||
echo "export DISPATCHARR_ENV=$DISPATCHARR_ENV" >> /etc/profile.d/dispatcharr.sh
|
||||
echo "export REACT_APP_ENV_MODE=$DISPATCHARR_ENV" >> /etc/profile.d/dispatcharr.sh
|
||||
fi
|
||||
|
||||
chmod +x /etc/profile.d/dispatcharr.sh
|
||||
|
||||
pip install django-filter
|
||||
|
||||
# Run init scripts
|
||||
echo "Starting init process..."
|
||||
. /app/docker/init/01-user-setup.sh
|
||||
|
|
|
|||
|
|
@ -15,3 +15,5 @@ fi
|
|||
|
||||
# Install frontend dependencies
|
||||
cd /app/frontend && npm install
|
||||
|
||||
cd /app && pip install -r requirements.txt
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ server {
|
|||
uwsgi_pass unix:/app/uwsgi.sock;
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
root /app; # Base directory for static files
|
||||
location /assets/ {
|
||||
root /app/static; # Base directory for static files
|
||||
}
|
||||
|
||||
# admin disabled when not in dev mode
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
attach-daemon = celery -A dispatcharr worker -l info
|
||||
attach-daemon = redis-server
|
||||
attach-daemon = daphne -b 0.0.0.0 -p 8001 dispatcharr.asgi:application
|
||||
attach-daemon = cd /app/frontend && npm run start
|
||||
attach-daemon = cd /app/frontend && npm run dev
|
||||
|
||||
# Core settings
|
||||
chdir = /app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue