Updated API and Bot.

- added auth
- updated structure
This commit is contained in:
2026-04-01 22:11:12 +03:00
parent 418801b056
commit 48ef7217eb
54 changed files with 1839 additions and 430 deletions
+10 -1
View File
@@ -2,9 +2,17 @@ version: '3.9'
services:
db:
image: postgres:16
build:
context: .
dockerfile: docker/postgres-pg-cron/Dockerfile
container_name: postgres
restart: always
command:
- postgres
- -c
- shared_preload_libraries=pg_cron
- -c
- cron.database_name=familyHubDB
environment:
POSTGRES_USER: familyUser
POSTGRES_PASSWORD: familyPass
@@ -13,3 +21,4 @@ services:
- "5432:5432"
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
- ./docker/postgres-pg-cron/init:/docker-entrypoint-initdb.d