Fix to get merge into main

This commit is contained in:
Zeecka
2026-01-09 23:07:45 +01:00
parent 7f13c9841c
commit ef0b6ca511
4 changed files with 22 additions and 17 deletions
+16 -2
View File
@@ -1,6 +1,6 @@
services:
web:
image: ghcr.io/zeecka/aperisolve:prod
image: ghcr.io/zeecka/aperisolve:latest
#build: .
container_name: aperisolve-web
restart: always
@@ -25,7 +25,7 @@ services:
start_period: 900s
worker:
image: ghcr.io/zeecka/aperisolve:prod
image: ghcr.io/zeecka/aperisolve:latest
#build: .
container_name: aperisolve-worker
restart: always
@@ -40,6 +40,20 @@ services:
environment:
- CLEAR_AT_RESTART=0 # Always false for worker to prevent double clearing
initdb:
image: ghcr.io/zeecka/aperisolve:latest
#build: .
container_name: aperisolve-initdb
command: python -m aperisolve.utils.init_db
volumes:
- apresults:/aperisolve/results
depends_on:
postgres:
condition: service_healthy
env_file:
- .env.example
restart: "no"
postgres:
image: postgres:18
container_name: postgres