Contoh Docker Compose CouchDB Dengan Limit CPU
version: '3.7'
services:
couchdb:
container_name: couch
image: couchdb
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=password
volumes:
- data_couch1:/opt/couchdb/data
ports:
- "59841:5984"
restart: unless-stopped
deploy:
resources:
limits:
cpus: '1' # Hard limit
networks:
- jaringan_pawan
volumes:
data_couch1:
networks:
jaringan_pawan:
driver: bridge
Lanjut Part : 1
Jam : 16:16:16
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