deploy file
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- '18081:3000'
|
||||
environment:
|
||||
- DB_HOST=
|
||||
- DB_USER=nilai_clock
|
||||
- DB_PASSWORD=
|
||||
- DB_NAME=nilai_clock
|
||||
- DB_PORT=3306
|
||||
- VITE_API_BASE_URL=//seiyaku.whealthfields.com.my/api
|
||||
volumes:
|
||||
- ./rebuild/dist:/app/dist
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "18080:80"
|
||||
volumes:
|
||||
- ./build/dist:/usr/share/nginx/html
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
Reference in New Issue
Block a user