- Create Dockerfiles for all four services (auth, identity, authz, audit) - Multi-stage builds using golang:1.25-alpine - Minimal runtime images using alpine:latest - Copy config files to runtime image - Create docker-compose.dev.yml for development - Only PostgreSQL and Consul - Use when running services locally with 'go run' - Update docker-compose.yml for full deployment - All services + infrastructure - Services build from Dockerfiles - Health checks and dependencies configured - Environment variables for service configuration - Add .dockerignore to optimize build context - Excludes docs, tests, IDE files, build artifacts - Update SUMMARY.md - Document both docker-compose files - Add Docker deployment section - Update file structure to include Dockerfiles
65 lines
574 B
Plaintext
65 lines
574 B
Plaintext
# Git files
|
|
.git
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# Documentation
|
|
docs/
|
|
*.md
|
|
!README.md
|
|
|
|
# Development files
|
|
.envrc
|
|
shell.nix
|
|
.direnv/
|
|
|
|
# Build artifacts
|
|
bin/
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
*.test
|
|
*.out
|
|
auth-service
|
|
identity-service
|
|
authz-service
|
|
audit-service
|
|
platform
|
|
api-gateway
|
|
|
|
# Test files
|
|
*_test.go
|
|
test/
|
|
*.test
|
|
|
|
# IDE files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
*.tmp
|
|
|
|
# Docker files (don't copy into Docker)
|
|
docker-compose*.yml
|
|
Dockerfile*
|
|
|
|
# CI/CD
|
|
.github/
|
|
.gitlab-ci.yml
|
|
.circleci/
|
|
|
|
# Coverage
|
|
coverage.out
|
|
coverage.html
|