Restructured project

- backend moved to backend directory
- added and initialized frontend with vue
- moved infrastructure files to infra directory
This commit is contained in:
2026-04-01 22:27:26 +03:00
parent 48ef7217eb
commit 9d845c8899
96 changed files with 1591 additions and 118 deletions
+24
View File
@@ -0,0 +1,24 @@
version: '3.9'
services:
db:
build:
context: ..
dockerfile: infra/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
POSTGRES_DB: familyHubDB
ports:
- "5432:5432"
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
- ./docker/postgres-pg-cron/init:/docker-entrypoint-initdb.d
+5
View File
@@ -0,0 +1,5 @@
FROM postgres:16
RUN apt-get update \
&& apt-get install -y --no-install-recommends postgresql-16-cron \
&& rm -rf /var/lib/apt/lists/*
@@ -0,0 +1 @@
CREATE EXTENSION IF NOT EXISTS pg_cron;