module
0.0.0-20241122182448-9f86a0f0f648
Repository: https://github.com/pi-prakhar/go-gcp-pi-app.git
Documentation: pkg.go.dev
# README
Desired structure
Service Management Commands
Simple guide for managing Docker services using Make commands.
Commands & Examples
Start Services
# Local environment
make up-local FLAGS="-d --build" # -d flag runs in background
# Debug environment
make up-debug FLAGS="-d"
# Production environment
make up-production FLAGS="-d --build"
Stop Services
make down # Stops all running services
Clean Data related to Services
make clean # Stops all running services
Build Images
# Basic build
make build-images
# Build with specific settings
make build-images \
DOCKER_ACCOUNT=myaccount \
SERVICES="auth server user" \
TAGS="latest v1.0.0" \
DOCKER_FILE_PATH=./docker \
BUILD_CONTEXT=.
Push Images
# Push to HUB
make push-images
View Logs
make logs # Shows logs from all services
Restart Services
make restart # Equivalent to make down + up