Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up a Docker Compose Project

Docker Compose describes several containers in one YAML. Perfect for app + database + proxy with a single command.

Steps

  1. Confirm the plugin is available (ships with current Docker Engine):

    docker compose version
  2. Create a project folder and a minimal compose file (sample static web):

    mkdir -p ~/app && cd ~/app
    cat > compose.yaml <<'EOF'services:  web:    image: nginx:alpine    ports:      - "8080:80"EOF
  3. Start in the background and check status:

    docker compose up -d
    docker compose ps
  4. Follow logs and tear the stack down when done:

    docker compose logs -f --tail=50
    docker compose down

Tips

  • Keep secrets in a sibling .env; never commit them.
  • In production use absolute volume paths and backups.

ext step

Multi-container stack on your server: Deploy your Cloud VPS.

Related guides