Merge pull request #140 from Zeecka/main

Merge into prod
This commit is contained in:
Zeecka
2026-01-04 18:28:10 +01:00
committed by GitHub
38 changed files with 1901 additions and 1165 deletions
+11 -3
View File
@@ -17,6 +17,12 @@ services:
condition: service_started
env_file:
- .env
healthcheck:
test: ["CMD-SHELL", "dd if=/dev/urandom of=/tmp/healthcheck.png bs=1 count=1000000 && curl -X POST -F 'image=@/tmp/healthcheck.png' http://localhost:5000/upload -s -o /dev/null -w '%{http_code}' | grep -q 200"]
interval: 3600s
timeout: 30s
retries: 3
start_period: 900s
worker:
image: ghcr.io/zeecka/aperisolve:prod
@@ -31,13 +37,15 @@ services:
- postgres
env_file:
- .env
environment:
- CLEAR_AT_RESTART=0 # Always false for worker to prevent double clearing
postgres:
image: postgres:14
image: postgres:18
container_name: postgres
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
- pgdata:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U aperiuser -d aperisolve"]
interval: 5s
@@ -63,7 +71,7 @@ services:
- redis
env_file:
- .env
volumes:
apresults:
pgdata: