initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# =====================================================================
|
||||
# Indotalent Webstore - Docker Compose untuk Portainer Stack
|
||||
# =====================================================================
|
||||
# Web app statis, routing via Nginx Proxy Manager (container name)
|
||||
# Tidak perlu expose port ke host!
|
||||
# =====================================================================
|
||||
|
||||
services:
|
||||
indotalent-webstore:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: indotalent-webstore
|
||||
restart: unless-stopped
|
||||
# TIDAK PERLU ports: - routing via NPM ke container name
|
||||
expose:
|
||||
- 80
|
||||
networks:
|
||||
- indotalent-network
|
||||
# =================================================================
|
||||
# RESOURCE LIMITS
|
||||
# =================================================================
|
||||
# Nginx ringan, tapi tetap dibatasi
|
||||
mem_limit: 64m # Max 64 MB RAM
|
||||
mem_reservation: 32m # Minimal 32 MB RAM
|
||||
cpus: '0.1' # Max 10% dari 1 CPU core
|
||||
labels:
|
||||
- "indotalent.service=indotalent-webstore"
|
||||
- "indotalent.description=Indotalent Webstore HTML Static"
|
||||
|
||||
networks:
|
||||
indotalent-network:
|
||||
external: true
|
||||
name: indotalent-network
|
||||
Reference in New Issue
Block a user