release 1.2

This commit is contained in:
2026-03-03 22:43:26 +03:00
parent 651631b3c7
commit 40dec27d41
27 changed files with 494 additions and 496 deletions
+47
View File
@@ -0,0 +1,47 @@
# compose.yml
services:
postgresql:
container_name: postgresql
environment:
POSTGRES_DB: dolgolet
POSTGRES_PASSWORD: dolgolet
POSTGRES_USER: dolgolet
TZ: Europe/Moscow
healthcheck:
test: ["CMD-SHELL", "pg_isready -U dolgolet -d dolgolet"]
timeout: 10s
interval: 15s
retries: 7
start_period: 12s
image: postgres:18
networks:
- my-net
restart: always
volumes:
- /mnt/dbdata/postgres:/var/lib/postgresql
medodston3health:
depends_on:
postgresql:
condition: service_healthy
image: medodston3health:latest
container_name: medodston3health
volumes:
- /mnt/dbdata/attachments:/app/src/attachments
restart: unless-stopped
ports:
- "80:80"
networks:
- my-net
environment:
TZ: Europe/Moscow
DB_HOST: postgresql
DB_PORT: 5432
DB_USER: dolgolet
DB_PASSWORD: dolgolet
DB_NAME: dolgolet
networks:
my-net:
external: true