feat: introduce Docker Compose setup and example environment variables for frontend configuration.
This commit is contained in:
parent
dfcabe306c
commit
04470cd926
2 changed files with 4 additions and 4 deletions
|
|
@ -7,9 +7,9 @@ services:
|
|||
- "3000:3000"
|
||||
environment:
|
||||
# URL ของ Backend API (Nuxt 3 จะใช้ NUXT_PUBLIC_ นำหน้า)
|
||||
- NUXT_PUBLIC_API_BASE=${NUXT_PUBLIC_API_BASE:-http://localhost:4000/api}
|
||||
- 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.100:9000}
|
||||
- NUXT_PUBLIC_S3_ENDPOINT=${NUXT_PUBLIC_S3_ENDPOINT:-http://192.168.1.137:9000}
|
||||
networks:
|
||||
- elearning-network
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue