Skip to content

File Processing manager. Files for processing are taken from the cloud drive. It is part of the general `engineer instructor` application

Notifications You must be signed in to change notification settings

VIVERA83/ii_file_handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ii_file_handler

File Processing manager. Files for processing are taken from the cloud drive. It is part of the general engineer instructor application

docker run -d --name docker_test -p 5435:5432 -e POSTGRES_DB="test_db" -e POSTGRES_USER="test_user" -e POSTGRES_PASSWORD="test_password" postgres:15.5

Монтировать образ

docker build -t file_handler .

Запуск приложения, Пример замените значения token и client_id

docker run --name ii_file_handler -p 8005:8005 -e YA_TOKEN="token" -e YA_CLIENT_ID="client_id" file_handler
cd file_handler 
alembic init -t async alembic
cd file_handler 
alembic revision --autogenerate -m "Initial tables"
cd file_handler
alembic upgrade head
DROP SCHEMA ii CASCADE;
DELETE FROM ii.pls AS tgt

"Name or service not known" - Ошибка может возникнуть из за непревельно указанного хоста для БД PostgreSQL

docker exec -it file_handler bash
docker build -t vivera83/ii_file_handler:2 .
docker push vivera83/ii_file_handler:2

About

File Processing manager. Files for processing are taken from the cloud drive. It is part of the general `engineer instructor` application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published