Skip to content

Commit 9155b2f

Browse files
committed
modify
modify
1 parent 1d37705 commit 9155b2f

7 files changed

Lines changed: 11 additions & 10 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Droidify — copy to .env and edit
22
# cp .env.example .env
33

4-
PORT=7860
4+
PORT=8000
55
CORS_ORIGINS=http://localhost
66
SCRAPER_USER_AGENT=DroidifyBot/2.0
77
SCRAPER_CONCURRENCY=10

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN adduser -D -u 1000 -g "" user
44

55
ENV HOME=/home/user \
66
PATH=/home/user/.local/bin:$PATH \
7-
PORT=7860 \
7+
PORT=8000 \
88
CORS_ORIGINS="*" \
99
SCRAPER_USER_AGENT="DroidifyBot/2.0" \
1010
SCRAPER_CONCURRENCY="10" \
@@ -29,9 +29,9 @@ COPY --chown=user:user backend/app ./app
2929

3030
USER user
3131

32-
EXPOSE 7860
32+
EXPOSE 8000
3333

3434
HEALTHCHECK --interval=30s --timeout=10s --start-period=120s --retries=5 \
3535
CMD python3 -c "import urllib.request,os; urllib.request.urlopen('http://localhost:'+os.environ.get('PORT')+'/api/health',timeout=8)"
3636

37-
CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-7860} --workers 1
37+
CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000} --workers 1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Droidify/
7777
```bash
7878
git clone https://github.com/eliekh05/Droidify
7979
cd Droidify
80-
./install.sh # builds and runs at http://localhost:7860
80+
./install.sh # builds and runs at http://localhost:8000
8181

8282
# or dev mode with hot reload:
8383
make dev

backend/app/frontend/assets/home.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

backend/app/frontend/pages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def _index_body() -> str:
269269
<h2>Android versions</h2>
270270
<a href="/android.html" class="section-link">Full history &rarr;</a>
271271
</div>
272+
<div id="android-pills" class="android-pills reveal"></div>
272273
<div class="reveal-grid" id="android-versions"></div>
273274
</section>
274275
</main>"""

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ services:
55
dockerfile: Dockerfile
66
restart: unless-stopped
77
ports:
8-
- "7860:7860"
8+
- "8000:8000"
99
environment:
10-
- PORT=7860
10+
- PORT=8000
1111
- CORS_ORIGINS=*
1212
- SCRAPER_TIMEOUT=20
1313
- CACHE_DEFAULT_TTL=300
1414
healthcheck:
15-
test: ["CMD", "python3", "-c", "import urllib.request,os; urllib.request.urlopen('http://localhost:'+os.environ.get('PORT','7860')+'/api/health',timeout=8)"]
15+
test: ["CMD", "python3", "-c", "import urllib.request,os; urllib.request.urlopen('http://localhost:'+os.environ.get('PORT','8000')+'/api/health',timeout=8)"]
1616
interval: 30s
1717
timeout: 10s
1818
start_period: 120s

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -e
33
command -v docker &>/dev/null || { echo "Docker required. Install with: curl -fsSL https://get.docker.com | sh"; exit 1; }
44
docker compose build && docker compose up -d
5-
echo "✓ Droidify running at http://localhost:7860"
5+
echo "✓ Droidify running at http://localhost:8000"

0 commit comments

Comments
 (0)