Skip to content
Jagoan Cloud Docs
  • Solutions
    • Server Ujian Online
    • Scalable WordPress
  • Products
    • Jagoan Cloud PaaS
      • Pricing
    • Cloud Backup
    • VPS Windows
    • Business Mail
    • SSL Certificate
  • Login App
Popular Search settingsshphpdockerdomain

Rapor Digital Madrasah

  • Cara Instalasi RDM

Panduan Dasar

  • Cara Memasang SSL di Jagoan Cloud
  • Mengubah domain Jagoan Cloud ke Domain Sendiri
  • Cara Menambahkan IP Public

Moodle

  • Cara Login ke Server Moodle di Jagoan Cloud
  • Cara Login ke Aplikasi Moodle di Jagoan Cloud
  • Cara Menggunakan Domain Pribadi untuk Aplikasi Moodle

Quick Start

  • Getting Started
  • Dashboard Guide
  • Welcome Tutorial
  • Software Stack Versions

Platform Overview

  • What is Platform-as-a-Service
  • Concept and Terminology
  • What are System Containers
  • What are Application Containers
  • Isolated Containers
  • What is Auto-Clustering
  • Cloudlet

Containers

  • Container Types
  • Container Image Requirements
  • Connect to Custom Container
  • Custom Container SSH Access
  • Private Registry Inside PaaS
  • Building Custom Containers

Environment Management

  • HTTP Headers
  • Clone Environment

Application Settings

  • Configuration File Manager
  • Managing Timezone Settings

Development Tools

  • FTP/FTPS Support

Account and Pricing

  • Account Registration
  • Account Types
  • Account Statuses
  • Account Password Reset
  • Quotas System
  • Two Factor Authentication
  • Personal Access Token
  • Upgrade and Refill Account
  • Pricing Model Overview

Architecture Overview

  • Cluster Overview
  • Cluster Orchestrator

Container Deployment

  • Certified Containers Deployment
  • Custom Containers Deployment
  • Docker Engine Deployment

Container Redeploy

  • Redeploy Overview
  • Preserve Data

Container Configuration

  • Configuration Tools
  • Container Environment Variables
  • Container Linking
  • Container Volumes
  • Container Ports
  • Container Run Configuration

Environment Variables

  • Java Options and Arguments
  • Default Environment Variables
  • Custom Environment Variables

Environment Groups

  • Overview
  • Group Creation
  • Navigation Between Groups
  • Group Management
  • Environment Isolations

Scaling and Clustering

  • Automatic Vertical Scaling
  • Horizontal Scaling
  • Automatic Horizontal Scaling
  • Data Synchronization
  • File Synchronization in Cluster
  • Auto-Clustering of Instances

Built-In Monitoring

  • Log Files
  • Statistics
  • Load Alerts

SSH

  • Generate SSH Key
  • Add SSH Key
  • SSH Access

Resource Charging

  • Pricing FAQ
  • Charged Resources
  • Monitoring Consumed Resource

Kubernetes

  • GitLab CI/CD Integration
  • Cluster Automated Upgrade
  • Public IP for Access to Kubernetes
  • Traefik v2 Ingress Controller

Kubernetes Cluster

  • Kubernetes Overview
  • System Requirements
  • Cluster Installation
  • Cluster Versions

Managing Kubernetes

  • Cluster Access
  • Access Controll
  • Cluster Troubleshooting
  • Cluster Upgrade
  • Velero Backup

Kubernetes Scalability

  • Vertical Scalling
  • Horizontal Scalling

Application Deployment

  • Helm Integration
  • YAML Deployments
  • Internal Networking
  • Exposing Services
  • Creating Ingresses

Persistent Data

  • Volume Provisioner
  • Persistent Volume Claim
  • Custom Storage

Domain Name Management

  • Swap Domain
  • Multiple Domain for PHP
  • Container DNS Hostnames

External Access to Applications

  • Shared Load Balancer
  • Public IP
  • Container Firewall
  • Endpoints

Traffic Distributor

  • Traffic Distributor Overview
  • Routing Methods
  • Traffic Distributor Installation
  • Traffic Distributor Integration
  • Use Case

SSL

  • Secure Socket Layer
  • Built-In SSL
  • Custom SSL
  • Custom SSL via SLB

Scheduling Configuration

  • Setting Up Cronjob
View Categories
  • Docs
  • Panduan Penggunaan Layanan & Platform Jagoan Cloud
  • Jagoan Cloud PaaS
  • Panduan Dasar
  • Containers
  • Container Configuration
  • Container Linking

Container Linking

1 min read

Bagian Links digunakan untuk membuat koneksi antara container yang berada di layer berbeda dalam satu environment.

Setelah koneksi ini dibuat, container akan bisa mengakses environment variable dari container yang di-link. Variabel yang diimpor ini akan otomatis punya prefix khusus berdasarkan alias yang kamu tentukan, jadi mudah dikenali.

Berikut langkah-langkah untuk membuat link antar container:

  1. Klik tombol Add, lalu isi kolom yang muncul:
    • Node: Pilih layer yang ingin dihubungkan dari daftar drop-down
    • Alias: Ketik alias (misalnya: LB). Alias ini nantinya akan dipakai sebagai prefix untuk semua variabel yang diimpor dari layer yang kamu pilih

add linking layer settings


💡 TIP
Setelah container di-link, platform akan otomatis menambahkan catatan DNS (DNS record) ke dalam database-nya, dengan nama yang sama persis seperti alias yang kamu gunakan.Dengan cara ini, kamu bisa mengakses container tertentu dari salah satu layer environment, tanpa perlu tahu IP address atau NodeID-nya. Kamu cukup pakai nama alias yang sudah diberikan, lengkap dengan nomor urutannya — formatnya seperti ini: {alias}_N.

 

2. Setelah itu, klik tombol Save untuk menyimpan pengaturan link yang sudah kamu buat.


📝 NOTE
Semua koneksi yang sudah kamu atur baru akan aktif setelah kamu klik tombol Apply di jendela ini. Dan jika diperlukan, klik juga Apply di topology wizard utama.Perlu Kamu perhatikan, saat pengaturan link diterapkan, container yang terhubung akan direstart agar perubahan bisa dijalankan. Ini berarti akan ada sedikit waktu downtime sementara pada container yang terlibat. Jadi pastikan kamu melakukan ini di waktu yang tepat agar tidak mengganggu layanan yang sedang berjalan.

 

3. Kamu selalu bisa mengedit atau menghapus link yang sudah tidak dibutuhkan kapan saja, dengan menggunakan tombol Edit atau Remove yang ada di bagian atas jendela pengaturan Docker layer.

edit remove layer settings

Setelah pengaturan di-apply, Kamu bisa memeriksa hasilnya dengan beralih ke tab Variables

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on July 25, 2025
Container Environment VariablesContainer Volumes

Powered by BetterDocs

© 2022 Jagoan Cloud