To get started with gondolin, you'd need to install the following tools:
The setup consists of a postgresql database and a docker containerized service delivered by Setu.
To bring up a local developer setup,
- Fill in the switch server credentials:
# Switch server credentials
- HTTP_PROXY=http://<user>:<password>@<switch-server>.setu.co:<port>
- ALL_PROXY=http://<user>:<password>@<switch-server>.setu.co:<port>
- END_POINT=<Fastag endpoint>
- Fill other credentials as communicated.
docker-compose up
- Resource constraints: Configure memory and cpu resources when being run along with other docker containers.
- PID limits: Tune container pids limit. Ex:
--pid="100"
- IPC Mode: Inter process communication mode. Set it to
private
when possible. Ex:--ipc="private"
- Use
127.0.0.1
if possible for the docker host name instead of0.0.0.0
. - Disable container processes from gaining more privileges. Ex:
--security-opt="no-new-privileges"
https://docs.docker.com/compose/compose-file/compose-file-v2/
https://docs.docker.com/engine/reference/run/
https://dev-sec.io/baselines/docker/