podman based project from now on

This commit is contained in:
Priec
2026-06-29 19:44:17 +02:00
parent 551ff3aedc
commit 3bfc798a9e
6 changed files with 54 additions and 8 deletions

28
podman-compose.prod.yml Normal file
View File

@@ -0,0 +1,28 @@
services:
kompress:
container_name: kompress
build:
context: .
dockerfile: Podmanfile
env_file:
- .env.production
volumes:
- kompress_eshop_data:/usr/app/data
networks:
- kompress_eshop-net
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:5150/_ping"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
networks:
kompress_eshop-net:
external: true
volumes:
kompress_eshop_data:
external: true
name: kompress_eshop_data