18 lines
681 B
YAML
18 lines
681 B
YAML
services:
|
|
learner-ui:
|
|
build: .
|
|
container_name: elearning-learner-ui
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
# URL ของ Backend API (Nuxt 3 จะใช้ NUXT_PUBLIC_ นำหน้า)
|
|
- NUXT_PUBLIC_API_BASE=${NUXT_PUBLIC_API_BASE:-http://192.168.1.137:4000/api}
|
|
# กรณีต้องการระบุ URL อื่นๆ เพิ่มเติม เช่น S3 (ถ้ามีการใช้ในอนาคต)
|
|
- NUXT_PUBLIC_S3_ENDPOINT=${NUXT_PUBLIC_S3_ENDPOINT:-http://192.168.1.137:9000}
|
|
networks:
|
|
- elearning-network
|
|
|
|
networks:
|
|
elearning-network:
|
|
external: true
|