Skip to content

🐳 Curated collection of Docker and Docker Compose templates for local development. Includes setups for Node.js, NestJS, Next.js, Rust, PostgreSQL with seed data, Kafka clusters, Anvil EVM, LocalStack, mock APIs, and more.

License

Notifications You must be signed in to change notification settings

hperezrodal/docker-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

docker-templates

A collection of Dockerfile templates for different programming languages and frameworks.

Labels

GitHub Release GitHub Issues GitHub Stars Platform License Bash Library

Project Structure

docker-templates/
β”œβ”€β”€ README.md                 # Project documentation
β”œβ”€β”€ CONTRIBUTING.md           # Contribution guidelines
β”œβ”€β”€ LICENSE                   # MIT License
β”œβ”€β”€ .gitignore                # Git ignore rules
β”œβ”€β”€ languages/                # Language-specific Dockerfile templates
β”‚   └── java/                 # Java microservices template
└── stacks/                   # Stack-specific Dockerfile templates
    └── anvil-evm/            # Anvil EVM development environment

Available Templates

Language Templates

Template Description Base Image Features
Java Java microservices template maven:3.8.4-openjdk-11-slim Multi-stage build, health checks, non-root user, Spring Boot support, build metadata tracking
More coming soon...

Stack Templates

Template Description Base Image Features
Anvil EVM Ethereum development environment foundry:latest Local and forked network support, resource limits, health checks, persistent volumes, configurable logging

Downloading Templates

You can download any template using curl. Here are some examples:

Java Template

# Download the Java template files
curl -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/languages/java/Dockerfile \
     -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/languages/java/docker-entrypoint.sh

# Make the entrypoint script executable
chmod +x docker-entrypoint.sh

Anvil EVM Template

# Download the Anvil EVM files
curl -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/stacks/anvil-evm/Dockerfile \
     -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/stacks/anvil-evm/docker-compose.yml \
     -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/stacks/anvil-evm/docker-entrypoint.sh \
     -O https://raw.githubusercontent.com/hperezrodal/docker-templates/main/stacks/anvil-evm/.env.example

# Make the entrypoint script executable
chmod +x docker-entrypoint.sh

Contributing

Contributions are always welcome! Please read the contribution guidelines first.

License

MIT License - See LICENSE file for details


Made with ❀️ by hperezrodal

About

🐳 Curated collection of Docker and Docker Compose templates for local development. Includes setups for Node.js, NestJS, Next.js, Rust, PostgreSQL with seed data, Kafka clusters, Anvil EVM, LocalStack, mock APIs, and more.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published