Merge branch 'prod' into bump_prod

This commit is contained in:
Zeecka
2025-12-27 00:20:17 +01:00
committed by GitHub
5 changed files with 14 additions and 7 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ MAX_PENDING_TIME=600
MAX_STORE_TIME=259200
FLASK_DEBUG=0
FLASK_ENV=production
DB_URI=postgresql://aperiuser:aperipass@postgres:5432/aperisolve
DB_URI=postgresql://aperiuser:iacyANdLeUREonIuMPorpHySTaIsHEAn@postgres:5432/aperisolve
RQ_DASHBOARD_REDIS_URL=redis://redis:6379/0
POSTGRES_DB=aperisolve
POSTGRES_USER=aperiuser
POSTGRES_PASSWORD=aperipass
POSTGRES_PASSWORD=iacyANdLeUREonIuMPorpHySTaIsHEAn
+1 -2
View File
@@ -39,6 +39,5 @@ jobs:
context: ./
push: true
tags: |
ghcr.io/${{ env.lower_actor }}/aperisolve:latest
ghcr.io/${{ env.lower_actor }}/aperisolve:${{ env.RELEASE_VERSION }}
ghcr.io/${{ env.lower_actor }}/aperisolve:prod
+6
View File
@@ -255,6 +255,12 @@ def get_image(
return send_file(output_file, as_attachment=True)
@app.route("/ads.txt")
def google_ads() -> str:
"""Google Ads required file"""
return "google.com, pub-2324718887045017, DIRECT, f08c47fec0942fa0"
if __name__ == "__main__":
debug_mode = os.environ.get("FLASK_DEBUG", "false").lower() == "true"
app.run(host="0.0.0.0", port=5000, debug=debug_mode)
+2
View File
@@ -9,6 +9,8 @@
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="/static/css/aperisolve.css" rel="stylesheet" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2324718887045017"
crossorigin="anonymous"></script>
</head>
<body class="text-light">
+3 -3
View File
@@ -1,11 +1,11 @@
services:
web:
image: ghcr.io/zeecka/aperisolve:latest
image: ghcr.io/zeecka/aperisolve:prod
#build: .
container_name: aperisolve-web
restart: always
ports:
- "5000:5000"
- "80:5000"
volumes:
- apresults:/aperisolve/results
depends_on:
@@ -19,7 +19,7 @@ services:
- .env
worker:
image: ghcr.io/zeecka/aperisolve:latest
image: ghcr.io/zeecka/aperisolve:prod
#build: .
container_name: aperisolve-worker
restart: always