Skip to content

Anime-Manga/apiService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮Api Service

Questo progetto verrà utilizzato per esporre i dati in maniera facile e veloce con il database postgresql e mongo.

Expose ports Protocol
80 TCP

Information general:

Note: not require volume mounted on Docker

Dependencies

Services Required
Mongo
Postgresql
RabbitMQ
Notify

Variabili globali richiesti:

example:
    #--- DB ---
    DATABASE_CONNECTION: User ID=guest;Password=guest;Host=localhost;Port=33333;Database=db; [require]
    DATABASE_CONNECTION_MONGO: "mongodb://ip:port"
    NAME_DATABASE_MONGO: "name db"
    
    #--- Rabbit ---
    USERNAME_RABBIT: "guest" #guest [default]
    PASSWORD_RABBIT: "guest" #guest [default]
    ADDRESS_RABBIT: "localhost" #localhost [default]

    #--- API ---
    PORT_API: "33333" #5000 [default]
    
    #--- Logger ---
    LOG_LEVEL: "Debug|Info|Error" #Info [default]
    WEBHOOK_DISCORD_DEBUG: "url" [not require]
    
    #--- General ---
    BASE_PATH: "/folder/anime" or "D:\\\\Directory\Anime" #/ [default]
    LIMIT_THREAD_PARALLEL: "8" #5 [default]