Use a Custom Domain for Your Local Docker Containers with `caddy-docker-proxy`

I recently discovered that using caddy-docker-proxy is an excellent solution for setting up local domains for my Docker containers. It has become my go-to reverse proxy setup for Docker containers. Nginx Proxy Manager VS Caddy Docker Proxy Before this, I was using Nginx Proxy Manager, which works great if you’re using verified public domains. But for local development, it’s needs extra work, which I don’t have time for. While I did consider using self-signed SSL certificates, the setup process seemed more trouble than it was worth. ...

2025-05-29

Import 10GB SQL script successfully using source command

If you’ve ever tried importing a large .sql file using GUI tools like DBeaver, SQLyog, or HeidiSQL, chances are you’ve seen them freeze, timeout, or crash when the file is too big. I’ve personally experienced this multiple times — especially when working with SQL files larger than 1GB. But here’s the tool that just works, even for a 10GB+ SQL script: the source command in the MySQL (or MariaDB) CLI. ...

2025-05-03

setup docker for MySQL

Overview This is how I setup MySQL in docker for development so I can just copy and paste this. create volume create volume for saving data, by creating volume, it will make sure that tis volume is readable for our project. else it will use the parent directory name where the docker-compose.yml is located. If you use volume from inside MySQL container, the data will be lost when the container stops. ...

2024-09-26

Use Golang Migrate on Docker Compose

Previously I setup docker compose for golang application and PostgreSQL. It can run the application and can connect to PostgreSQL. While doing basic CRUD, I found that I need a tool to migrate my database structure and seed the database for easy onboarding and development. Thus I want to use golang-migrate to do that. What Is Golang Migrate Contrary to the name, it is not a migration tool specifically created for golang development, although we can use it as a golang package in your application. This tool is a CLI tool that can be installed on Windows, Mac, and Linux. As a CLI tool, it means that no matter what language you use to code, your migration can be managed using this golang-migrate. ...

2024-05-25

Dockerize Laravel Application Using Laradock

Create Docker containers for Laravel, MySQL, and PhpMyAdmin without fiddling with Dockerfile and docker-compose.yml. ...

2021-06-20  · Yanuar Arifin

docker-compose.yml for Golang Development

Hi, test things

2020-02-26