Core Project for maintaining database, jobs and tasks.
- Copy
.env.sampleas.envand set variables - Note that, in addition to setting up database config for the core server, we
need configurations for deep server as well.
- There's a chance a proxy is being used to access the DEEP db server.
- In that case, you need to set up a ssh tunnel to the proxy server as:
ssh -i ~/.ssh/ec2monitoring.pem -N -L 0.0.0.0:5432:<server_ip>:<server_port> ubuntu@<proxy_host>. - This will listen to port 5432 on your host machine.
- If you need to access this from inside container, set
DEEP_DB_HOSTenv var tohost.docker.internal. - Learn more about ssh tunneling here.
- Then just do docker-compose up
This consists of core entities like Leads, Entries, Analysis Frameworks, etc and the worker scripts used to populate them.