Docker Compose - trabnm1313/SDTP GitHub Wiki
Docker Compose File
Version : 3
และแบ่งออกเป็น
Frontend
Build: "./frontend"
build จาก dockerfile ในโฟลเดอร์ของ frontend
Ports
เชื่อมต่อเข้าผ่านทาง Port 9100
เรียกใช้งาน Service ที่ Port 9000
Backend
Build: "./backend"
build จาก dockerfile ในโฟลเดอร์ backend
Ports
เชื่อมต่อเข้าผ่านทาง Port 3083
เรียกใช้งาน Service ที่ Port 3083