Categorygithub.com/Dominux/gotcha
repository
0.0.0-20241111000044-7976d254a5cf
Repository: https://github.com/dominux/gotcha.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

gotcha

GitHub Workflow Status (with event) Dockerhub latest Docker Image Size (tag) Any platform

Arch

Gotcha service high-level arch

Running this sht

No need to clone the proj, to download a go compiler or smth else. No even need to build the image on ur own - just take the pre-built one! Oh yeah, it's based on the scratch image so that's why it's 146% not bloat - just the runtime itself, so it will take as less disk space as possible (9.35MB total)

1. Declaring env vars

There are 2 ways to declare them, but we'll got with copypasting the original .env.example file into any directory with whatever name ya wish. Don't forget to set proper values for them!!!

2. Running the container itself

Example of such a command. Set right --env-file and -p params (inner port is 8000 and isn't meant to be changed anyhow - who cares, it's internal anyway)

docker run -d --env-file ~/gotcha/.gotcha.env -p 1337:8000 --name gotcha thedominux/gotcha