Skip to content
/ diatom-pub Public template

Docker compose template with server in golang

License

Notifications You must be signed in to change notification settings

flow-lab/diatom-pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diatom Build and Deploy to GKE

POC srv

# generate db certs
sudo certs/generate.sh

# build and run in docker
docker compose --profile dev up --force-recreate --build -d
# curl http://localhost/backend/api/api.yaml
# curl http://localhost/backend/api/authors/a5dcd6de-4012-408c-a079-9945b3ad7c5a -s -w "\nHTTP_RESPONSE_STATUS_CODE: %{http_code}\n"

# show logs
docker compose --profile dev logs -f