Contoh IP Eksternal Docker agar menjadi satu gateway
version: '3.7'
services:
web:
container_name: sentimina
image: sen
ports:
- "82:80" # apache2
#- "22:22" # ssh
#- "8089:8080" # code Server Vscode
volumes:
- ./:/var/www/html
restart: unless-stopped
deploy:
resources:
limits:
cpus: '3' # Menggunakan 3 CPU Core
networks:
- siakad_60_jaringan_pawan
# couchdb:
# container_name: couch
# image: couchdb
# environment:
# - COUCHDB_USER=admin
# - COUCHDB_PASSWORD=tik
#volumes:
# - data_couch1:/opt/couchdb/data
#ports:
# - "59849:5984"
#restart: unless-stopped
#deploy:
# resources:
# limits:
# cpus: '3' # Hard limit
#networks:
# - jaringan_pawan
#volumes:
# data_couch1:
networks:
siakad_60_jaringan_pawan:
external: true
Lanjut Part : 1
Jam : 16:57:59
Durasi Part : 0:0:1
Durasi Total : 0:0:1
Punya Pertanyaan , Silahkan Whatsapp Langsung
Muhammad Ullil Fahri
WA : 089696380422
Tautan WA : https://wa.me/message/SG4YA2XQP5FPE1
Muhammad Ullil Fahri
WA : 089696380422
Tautan WA : https://wa.me/message/SG4YA2XQP5FPE1