Updated API and Bot.
- added auth - updated structure
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user