Automatically translated.View original post

Docker composer...What is it

# Trending # Lemon 8 Howtoo # Drug sign with lemon8 # Web Site Writing Basics

Docker Compose is a tool that allows us to manage Multi-container applications (projects with multiple containers working together) using only one setup file.

If compared, visualize:

Docker Engine is a "crane driver" who lifts one container at a time.

Docker Compose is the "Chief Conductor" who holds the tree and instructs all cabinets (Node.js, Nginx, Database) to be placed in the correct position and connected automatically.

What functions does Docker Compose perform?

Its main function is to turn cumbersome procedures into simple ones. Through the process as follows:

1.Defining specification (Definition)

Instead of typing long run commands one container at a time, you write everything into a single docker-compose.yml file, such as:

What image will be used?

Which port must be opened?

Which Database needs to be connected to?

2. Single Command Orchestration

When the file is prepared, you use one command, docker compose up. Docker Compose will act:

Build: Create Image for every Service as specified.

Create: Create a simulated network to allow containers to talk to each other

Start: Start the operation of every container simultaneously in the correct order.

3. Service Dependencies

It can be defined as "must complete the Database and then run Node.js" through the Depends _ on command to prevent the project from crashing because the app cannot find the database.

Benefits you can get (from the mai-app project)

Save time: No need to type the docker building command and the docker run separately several times.

Infrastructure as Code: The docker-compos.yml file is like a project document. Anyone who gets this file will be able to run a project exactly like you.

Clean Environment: When deprecated, just order the docker compose down, the system immediately sweeps the container and network generated.

Summary of workflow

Write the Dockerfile of each Service (e.g. Node.js).

Write docker-compos.yml to put everything together.

Run the docker compose up to start the entire system.

2/17 Edited to

... Read moreจากประสบการณ์ส่วนตัวในการใช้ Docker Compose พบว่ามันช่วยลดความซับซ้อนในการจัดการแอปพลิเคชันที่มีหลายคอนเทนเนอร์อย่างมาก เนื่องจากเราสามารถกำหนดบริการต่างๆ ทั้ง Node.js, Nginx, และฐานข้อมูลไว้ในไฟล์ docker-compose.yml เดียว ไม่ต้องรันคำสั่งแยกกันหลายครั้ง ซึ่งสะดวกและรวดเร็วมาก สิ่งที่ประทับใจอย่างหนึ่งคือการใช้คำสั่งเดียว "docker compose up" เพื่อจัดการตั้งแต่การ Build Image สร้างเครือข่ายจำลองให้คอนเทนเนอร์สื่อสารกัน และเริ่มทำงานพร้อมกันอย่างมีลำดับขั้นตอนโดยอัตโนมัติ ทำให้ไม่ต้องมาคอยเริ่มหรือหยุดแต่ละส่วนเอง นอกจากนี้ ความสามารถในการจัดการความสัมพันธ์ระหว่างเซอร์วิส เช่น การใช้ depends_on ทำให้มั่นใจได้ว่าแอปฯ จะไม่พังเพราะหาฐานข้อมูลไม่เจอ ซึ่งเคยเจอปัญหานี้มาก่อนเมื่อต้องรันหลายคอนเทนเนอร์ด้วยคำสั่งปกติ อีกอย่างที่ผมชอบคือแนวคิด Infrastructure as Code ที่ไฟล์ docker-compose.yml ทำหน้าที่เหมือนเอกสารประกอบโปรเจกต์คนอื่นๆ ก็สามารถนำไปรันซ้ำได้เลยโดยไม่ต้องตั้งค่าใหม่ ช่วยเพิ่มความโปร่งใสและลดข้อผิดพลาดในการตั้งค่าสภาพแวดล้อม พอเลิกใช้งานก็ทำความสะอาดได้ง่ายด้วยคำสั่ง docker compose down สำหรับผู้ที่สนใจ เริ่มต้นง่ายๆ ด้วยการเขียน Dockerfile ของแต่ละเซอร์วิส แล้วรวมไฟล์ทุกอย่างไว้ใน docker-compose.yml จากนั้นรันด้วย docker compose up เพียงเท่านี้ก็จัดการระบบ Multi-container ได้อย่างมืออาชีพแล้ว

Related posts

5 entry level tech jobs for newbies 👩‍💻☁️
1. Entry-Level Software Engineer - What they do: Write and test code, work on software features, fix bugs, and collaborate with other developers. - Education: Bachelor’s degree in Computer Science, Software Engineering, or a related field. - Skills: Proficiency in programming langua
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

531 likes

Cloud Engineer - How to become one?
What to Study: To become a Cloud Engineer, you should focus on these key areas: 1. Cloud Platforms: Learn cloud service providers like AWS, Google Cloud Platform (GCP), and Microsoft Azure. 2. Networking: Understand cloud networking concepts like VPC, load balancing, and DNS. 3. Programming: Ga
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

45 likes

My 2nd piano sonata
#composer #darkacademia #piano
Joshua Kyan Aalampour

Joshua Kyan Aalampour

91 likes

The image displays the title 'BACKEND DEVELOPMENT ROADMAP: EVERYTHING YOU NEED TO LEARN!' with a subtitle 'Master the skills to power the web!' over a background of a person looking at a computer screen with code.
This image defines backend development, explaining it handles data, logic, and server-side processing, manages databases and APIs, and works with the frontend. An illustration of a laptop with code and gear icons represents backend functions.
The image lists backend programming languages like JavaScript (Node.js), Python (Django, Flask), Java (Spring Boot), C# (.NET), and Ruby (Ruby on Rails), with their respective logos, advising to focus on one.
Backend Development Roadmap
Want to become a Backend Developer but don’t know where to start? 🤔 This step-by-step roadmap will guide you through the essential skills needed to build powerful, scalable web applications! #codingforbeginners #backenddeveloper #htmlcssforbeginners #studymotivations #javascript
Aysha

Aysha

23 likes

A planner page for May 2026 showing monthly goals, to-do lists, focus areas, and important dates like Mother's Day and birthdays, along with motivational text at the bottom.
A planner page detailing a weekly schedule from April 29th to May 3rd, 2026, with daily dockets, activities like 'Hot Girl Walk' and 'Social Media Blackout', and motivational quotes.
A planner page showing the weekend schedule for May 2nd and 3rd, 2026, with affirmations, daily dockets, a prayer in the notes section, and a comprehensive to-do list.
May’s Planner Layout
May is such a wonderful month. School is winding down, Mother’s Day, and Memorial Day. And let’s not forget it’s the last month of spring! I love this new Pen& Gear Undated Planner- stickers, a yearly bucket list, and to do list. Let me know in the comments your tips and tricks you use in your
The Bougie Problem

The Bougie Problem

369 likes

WFH JOBS
List of WFH jobs!! #noexcuse #jobs #jobsearch #workfromhomemom #workfromhome #workfromhome2023 #joblisting #workfromhomejobs
Ebony_Eb3

Ebony_Eb3

217 likes

A close-up portrait of Mark Mothersbaugh, a man with gray hair and black-framed glasses, smiling slightly while wearing a black shirt. The background is light-colored.
Happy Birthday 🎈 🎂 Creativity like this? One of a kind 😮‍🔥 Mark Mothersbaugh—the mind behind iconic sounds, unforgettable scores, and a whole era of creativity 💯 From groundbreaking music to legendary soundtracks…his influence is EVERYWHERE 👑 Different. Brilliant. Timeless 🔥 Some arti
Celebrity_Baddies_Tea

Celebrity_Baddies_Tea

0 likes

A person in a straw hat looks out over a scenic coastal town with white buildings and blue sea under a clear sky. Text overlay reads: "Ace Remote Tech Job Applications 5 USEFUL TIPS SWIPE."
A scenic coastal town with white buildings and a blue-domed church by the sea. Text outlines tips 1-3 for remote tech job applications: optimizing resumes, demonstrating remote work experience, and showing proficiency with remote tech tools.
A modern building with glass and black stairs overlooks a coastal landscape. Text outlines tips 4-5 for remote tech job applications: preparing for remote interviews and emphasizing time management and communication skills.
How to Ace Remote Tech Job Applications 👩‍💻
1. Optimize Your Resume for Tech Keywords and Remote Skills - Action: Tailor your resume to the specific job by including relevant tech skills and experience, such as programming languages (e.g., Python, Java), tools (e.g., GitHub, Docker), and frameworks. Emphasize remote work skills like self
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

42 likes

REMOTE WORK FROM HOME COMPANIES‼️🚨 that are always hiring🎯 follow me for more 🩷 I assist with resumes if you need one 🥰
Talisha Chonece

Talisha Chonece

727 likes

HIRING NOW: summer 2024 internships for students ☀️
Summer is right around the corner! So, if you’re still in the search for the perfect internship opportunity this summer, I got you. 🤝 Here are some FRESH new internships posted this week on LinkedIn – go apply asap! Not only are internships a great way to build real world experience in a particu
hannah 💟

hannah 💟

67 likes

A hand holds a smartphone displaying a folder named 'Best App' containing icons for DAMA, OpenCat, Miley, and ServerCat, against a blurred background of a study room. Text overlays read '4 Must-Know Apps For Students!' and 'Essential Picks'.
Two phone screens showcase Miley AI's features: one displays a calendar, to-do list, and daily water intake, while the other shows a 'Memories' section with notes, tasks, and a travel plan, highlighting its voice-activated organization.
Two phone screens illustrate Miley AI's organizational capabilities: one shows a 'Finance' overview with daily, weekly, and monthly expense tracking, and the other displays a detailed calendar view with scheduled events and financial summaries.
📚4 Genius Apps Every Student Needs
Tired of juggling assignments, due dates, and actual life? These 4 apps are like cheat codes for adulting—minus the stress. 💻✨ 🗓️ Miley AI – Your Personal Life Magician "Hey Miley, add my essay due Friday, track my coffee spending, and remind me to not cry during finals." ✨ → Boom. Don
dreamoon.squad

dreamoon.squad

65 likes

Computer Science Majors - Career paths
1. Software Developer - What You Do: Design, build, and maintain software applications. - Key Skills: Programming (Java, Python, C++), problem-solving, version control (Git). - Average Salary: $95,000–$110,000 per year (varies by location and experience). 2. Data Scientist - What You Do: Ana
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

95 likes

TOP 5 TECH SKILLS TO MASTER IN 2024 👩‍💻
1. Artificial Intelligence (AI) and Machine Learning (ML) - Details: AI and ML continue to dominate the tech landscape, driving innovations in automation, robotics, and data analytics. These technologies are used across industries to improve decision-making, predictive analysis, and create smar
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

42 likes

Kamasi Washington
Young jazz giant, Kamasi Washington, is a multi-instrumentalist, composer, and bandleader born and raised in Los Angeles. His four bodies of work to date—The Epic; Harmony of Difference, an EP originally commissioned for the 2017 Whitney Biennial; Heaven and Earth, and Fearless Movement—are among t
BookishJazzLover

BookishJazzLover

6 likes

Original CLASSICAL music 🫶🎹
🎶 Not too long ago, I had the opportunity to collaborate with world-class composer Sion Trefor. He created an incredible riff called Junk, and I had the pleasure of adding my vocals to it. This piece, which we performed live, is a beautiful example of modern classical music. I absolutely love it, a
QueenofOpera

QueenofOpera

14 likes

Kawaii Lofi Piano Music 🎶💖
Oneul is such a great composer 🥹 I'm playing music from their 12th album and i love the light energy the melodies bring. 🌸 Their channel is on Youtube with so many playlists and vibes to choose from. 🌷 I honestly just leave her videos playing while i work or whenever i am feeling creative
lexii 🌸

lexii 🌸

71 likes

Nice piano progression
#piano #composer #classicalmusic
Devern

Devern

4 likes

A desk setup features a computer monitor displaying text, a laptop, a glass of tea, and a notebook with pens. Overlay text announces "Making Money Selling Prompts w/ ChatGPT" and "I PROVIDE ALL THE STEPS AND PROMPTS BELOW," with an arrow pointing downwards.
A desk setup shows a computer monitor displaying code and a laptop with a "Lender Filter Tool" interface. Overlay text states "Step 1 Create Prompt Packs" and instructs to "USE CHATGPT TO HELP YOU GENERATE HIGH-VALUE PROMPT PACKS FOR NICHES LIKE: Business Automation, Content Creation, Personal Productivity," accompanied by a ChatGPT logo.
A desk setup includes a computer monitor showing code and a laptop displaying a web page. Overlay text reads "Step 2 Setup Your Storefront" and advises to "UPLOAD YOUR PROMPT PACKS AS DIGITAL DOWNLOADS ON: --Etsy & Pinterest (Beginners) --Gumroad or Lemon Squeezy (Pros)," with logos for Etsy and Pinterest.
The AI Money Blueprint w/ ChatGPT
Follow these 3 simple steps to stay focused and start selling. I provide all the steps and prompts below. ⤷ Step 1: Create Prompt Packs Use ChatGPT to generate high-value prompt packs for niches like business automation, content creation, and productivity. ⤷ Prompt: Create 10 advanced ChatG
Deft Point Consulting

Deft Point Consulting

241 likes

How I became a DevOps engineer 👩‍💻✨
💻 Education: - I focused on getting a degree in Computer Science, Information Technology, or something tech-related (though it's not mandatory, it helped a lot). - Learned the essentials: operating systems, programming, and networking, and got comfortable with cloud platforms (AWS, Azure).
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

20 likes

This image introduces automating business tasks using ChatGPT and Zapier, showing a desk setup with monitors displaying code and the logos of both tools. It highlights that all steps and prompts are included below for weekly task automation.
This image illustrates how AI, specifically ChatGPT and Zapier, can automate content idea generation for social media. It outlines a workflow from Google Sheets to Notion for consistent content planning, ensuring users never run out of ideas.
This image demonstrates automating lead follow-up with ChatGPT and Zapier. It shows how new leads trigger personalized messages sent via email or HubSpot, saving significant time by turning prospects into instant replies.
Business Tasks You Can Automate w/ ChatGPT
If you’re still doing these manually, you’re wasting hours every week. Here’s how I use ChatGPT + Zapier to automate my workflow. All steps & prompts below ⸻ ⤷ Step 1: Automate Lead Capture & Follow-Up Stop copying emails into spreadsheets — ChatGPT + Zapier can message every new le
Deft Point Consulting

Deft Point Consulting

36 likes

They Dared Me to Make a Subnautica Mod... #tiktok #usa #minecraft
torque.test

torque.test

0 likes

Well paying tech jobs 👩‍💻💰🤩
1. Software Engineer - $110,000 per year - Software engineers design, develop, and maintain software systems. They work on everything from apps to system-level software, utilizing languages such as Java, C++, and Python to create reliable and scalable applications. 2. Data Scientist
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

884 likes

A laptop on a desk displaying a mind map, with text overlay '2026 Free design tools you'll love No AI, back to real creation'. A mug and office supplies are also visible.
Text explaining why free design tools matter for creators who love making things from scratch, emphasizing they are offline, free, and available for macOS and Windows.
A screenshot of Affinity, an all-in-one design suite with vector, pixel, and layout tools, showing a vibrant digital artwork of a person with flowers.
Free design tools you’ll actually enjoy using - no AI, no paywalls, just pure creativity. If you love creating from scratch, these are for you. They work offline, feel real, and give full control back to your ideas. #productivity #tech #designtools #graphicdesign
Reverelia

Reverelia

208 likes

A young woman sits outdoors with the Golden Gate Bridge in the background, illustrating the title '5 Hot Tech Jobs Right Now: What to study + average salary.'
Over a scenic blue sea and white buildings, text lists Data Scientist ($120,000), Cloud Engineer ($120,000-$140,000), and Cybersecurity Analyst ($90,000-$115,000) with their respective study paths.
Against a backdrop of white buildings and the sea, text details Full Stack Developer ($100,000-$130,000) and DevOps Engineer ($110,000-$140,000) with their study recommendations.
Trending tech jobs right now 2024 👩‍💻💰
1. Data Scientist - What to study: Data Science, Statistics, Mathematics, or Computer Science. Learn programming languages like Python and R, along with machine learning techniques and data visualization tools. - How to become: Get a degree in a relevant field, and consider earning certific
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

28 likes

I’m headed to Tribeca! 🥹
I can’t believe I finally get to share this 🤍 A documentary I’m in following the TikTok Supreme Court case has officially been selected for the Tribeca Film Festival this June. This film follows three creators, including me, and tells the story of how we built our lives and communities on Tik
Chloe

Chloe

24 likes

A flat lay of handwritten study notes in a spiral notebook with highlighters, featuring a pink and yellow text overlay that reads 'Exam Day study tips'. The notes cover topics like Google Cloud Associate.
Handwritten notes on load balancing in a spiral notebook, overlaid with a tip to highlight and review only remaining terms on exam morning, as part of last-minute study advice.
Handwritten notes on instance groups and infrastructure in a spiral notebook, overlaid with a tip to take a walk and listen to subliminals an hour before the exam.
Last-minute tips for success in your exams! 📑
I just passed a google cert exam! This exam requires 20-40 hours of self-study, so I am very proud of myself 💖 Usually I can do more aesthetic notes than this, but since I was self studying and not in lectures, they ended up a bit messier 😅 On the day of the exam, you might feel nervous! Here ar
starlight

starlight

49 likes

Piano music stuff
#piano #pianomusic #composer #fantasy #pianoplayer
Devern

Devern

2 likes

A list titled "BEST YOUTUBE CHANNELS TO LEARN..." featuring various tech topics like Cybersecurity, Python, React, JavaScript, Java, DevOps, Blockchain, AI/ML, Web Development, AWS, Swift, SQL, DBMS, Ruby, Scala, SAP, C, R, jQuery, C#, .NET, Kotlin, Flutter, Laravel, and PHP, each paired with a recommended YouTube channel. The image includes a YouTube logo and the handle @securitytrybe.
Top YouTube Channels for Tech Mastery 🔑ℹ️⬇️
Unlock Your Tech Potential: The Best YouTube Channels for Learning Ever felt like the world of tech is just out of reach? Whether you’re diving into cybersecurity or mastering the nuances of UI/UX design, these YouTube channels will guide you every step of the way. Let’s break down the best reso
RoadToRiches

RoadToRiches

85 likes

Online learning resources for software developers
Want to pick up a new programming language or master a DevOps tool? No problem! Plenty of great learning resources are available online for free! 😎👆 #devops #coding #programming #softwaredeveloper
Learn Linux with Dan

Learn Linux with Dan

82 likes

A person in a black and white cow mascot costume wearing a red shirt that says "EAT MOR CHIKIN" in a kitchen or storage area.
A close-up photo of a baby with light hair and blue eyes, wearing a light blue and white striped outfit, lying on a plaid blanket.
A young person with short, curly hair and sunglasses playing a blue and white electric guitar outdoors at night.
Don’t be a COWard~ chase your dreams
Hi! (Yes that’s really me in the cow suit) My name is Austin Holsonback, and for as long as I can remember I’ve loved music. When me and my sister were young, she began taking piano lessons and my parents bought a Yamaha electric 61 key keyboard for her to practice on at home. I would always sneak
Austin’s Music

Austin’s Music

4 likes

A laptop and coffee mugs on a desk, with the text overlay "Why I chose DEVOPS OVER DEVELOPMENT" in bold yellow letters, introducing the article's topic.
A desk with a laptop and monitor displaying code, overlaid with points 1, 2, and 3 about DevOps: Bridging Development & Operations, Automation & Efficiency (CI/CD pipelines), and Focus on Collaboration.
A desk setup with a laptop and large monitor, featuring points 4 and 5 about DevOps: Exposure to Cutting-Edge Tools (AWS, Azure) and Problem-Solving Beyond Code (improving deployment strategies).
Why DevOps is better than development 👩‍💻💰
Here’s why I chose DevOps Engineer over Software Developer: 1. Bridging Development & Operations: - I love how DevOps combines both development and infrastructure, allowing me to work across the full software lifecycle. It’s not just about writing code but also optimizing how that code
vedha | career tips (tech) 👩‍

vedha | career tips (tech) 👩‍

5 likes

High Identity V clips
#lemon8dairy #identityv #composer #fredericksburg #nortoncampbell
Blush

Blush

0 likes

‼️‼️‼️‼️‼️‼️‼️
I WILL BE PERFORMING 👐🏾🎹 IN MY CITY TAMPA October 25th ‼️ CLICK THE LINK in my bio to purchase tickets ASAP (INSTAGRAM)‼️ Tap in with @Manny for MORE Details about this event‼️ #YounginChriso #112 #cupid #foryou #foryoupage Tampa
Youngin’ Chriso

Youngin’ Chriso

7 likes

The image displays an "AI PM Learning Roadmap v2.0," outlining nine key areas for AI Product Managers. It covers basic concepts, prompt engineering, fine-tuning, RAG, AI agents, prototyping, foundational models, evaluation systems, and other resources, listing tools, techniques, and guides for each section.
AI PM Learning Roadmap 🔥🔥🔥
Go and check out Substack for major AI content — from powerful prompt packs to the latest tools, tips, and tutorials that’ll level up your digital game! 🚀💻 #AIContent #SubstackGems
POSH🌸

POSH🌸

15 likes

Everything will make sense
#lemon8dairy #helpmechoose what’s your favorite Shann-i’s song to listen to #reggae #dancehall #fusion
Shann-I

Shann-I

1 like

Playing different
#piano #pianomusic #composer #avantgarde
Devern

Devern

2 likes

Effortless Brilliance, Puccini’s Timeless Touch
🎭 Puccini: The Rare Composer Who Got It Right From Day One 🎶 In opera, even the greatest composers faced harsh criticism. Take Bizet’s Carmen—critics thought it was too bold, and Bizet died believing it was a failure. Now? It’s one of the most performed operas in the world. But Puccini was di
QueenofOpera

QueenofOpera

15 likes

Simple
#piano #classicalmusic #composer #calm
Devern

Devern

3 likes

Autumn Piano Song
An Autumn song for the Autumn Season 🍂🍂🍂🍁🍁🍁 . . Imagine a multi-tiered structure—a surrealist ziggurat or bureaucratic temple—where each level corresponds to a chord tone. The base (B♭) is heavy, institutional, perhaps rendered in concrete or rusted metal. As you ascend, the architecture become
Georgette Van Sand

Georgette Van Sand

5 likes

Episode 122: The Works of John Harrison
Episode 122: The Works of John Harrison. Join the crew for an insightful sit down with John Harrison as he discusses his evolution from a cult-classic horror composer to an Emmy-winning director and acclaimed novelist. We explore how his signature grit and suspense have masterfully transcended medi
I Like It Spooky Horror

I Like It Spooky Horror

1 like

dropping two huge projects very soon! Hit me up if you. Red anything build!
💵 Price: So good its process, but ifd come down.
Officially.Gary

Officially.Gary

9 likes

A black and white photo shows artist Devin Morrison sitting on a bed, hands clasped in a contemplative pose. He wears dark clothing and glasses, with dreadlocks. The image reflects the article's theme of the church's influence on his music.
The Church’s Role in Shaping Devin Morrison
In a recent interview, renowned music producer and visionary Jermaine Dupri voiced his concerns about the decreasing number of young Black artists attending church, highlighting that many of the greatest musical talents–particularly in R&B and soul–began their journeys in that environment. The
ILoveUs.Media

ILoveUs.Media

1 like

An infographic titled 'Free Online Learning Resources' lists various programming languages and technologies like Linux, Go, AWS, C++, Python, Java, HTML, CSS, JavaScript, SQL, and more, each with a corresponding learning website. The image also credits Dan Nanni and study-notes.org.
Free online resources for software developers
In today’s AI era, learning a programming language is still vital because it lets you go beyond simply using AI tools to actually controlling how they work. And for those with that mindset, plenty of high-quality learning resources are available online 😎👆 #programming #coding #developer #
Learn Linux with Dan

Learn Linux with Dan

801 likes

🚀 2025 AI Learning Roadmap: From Zero to Employmen
Hey everyone! 🌟 Here's a comprehensive AI learning roadmap to help you go from a beginner to a professional in the field of AI by 2025. Let's break it down into nine stages: ---- 1️⃣ Build Strong Foundations • Python: Master the basics of Python programming. • Data Processing: Learn l
Valder

Valder

875 likes

See more