File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Develop Build
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v3
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v3
21+
22+ - name : Log in to Docker Hub
23+ uses : docker/login-action@v3
24+ with :
25+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27+
28+ - name : Build and push Docker image
29+ uses : docker/build-push-action@v6
30+ with :
31+ context : .
32+ file : backend/Dockerfile
33+ push : true
34+ platforms : linux/amd64,linux/arm64
35+ tags : speedarr/speedarr:develop
36+ cache-from : type=gha
37+ cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change 2222# Ensure /data is owned by speedarr
2323chown -R speedarr:speedarr /data
2424
25- # Switch to speedarr user and run command
26- exec gosu speedarr " $@ "
25+ # Run command (supervisor runs as root, but spawns backend as speedarr user)
26+ exec " $@ "
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ loglevel=info
88[program:speedarr-backend]
99command=uvicorn app.main:app --host 0.0.0.0 --port 9494
1010directory=/app
11+ user=speedarr
1112autostart=true
1213autorestart=true
1314startretries=3
You can’t perform that action at this time.
0 commit comments