modified
This commit is contained in:
No files matched your search
+7
-24
@@ -1,23 +1,3 @@
|
||||
# services:
|
||||
# web:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# container_name: qris_bank_jatim
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
# volumes:
|
||||
# - ./qris_bank_jatim:/app
|
||||
# environment:
|
||||
# - NODE_ENV=development
|
||||
# command: npm run dev
|
||||
# working_dir: /app
|
||||
# networks:
|
||||
# - qris-network
|
||||
|
||||
# networks:
|
||||
# qris-network:
|
||||
# driver: bridge
|
||||
|
||||
services:
|
||||
web:
|
||||
@@ -28,16 +8,19 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
# Only mount source code, exclude node_modules
|
||||
- ./qris_bank_jatim:/app
|
||||
- /app/node_modules # Prevent host node_modules from overriding container's
|
||||
- ./:/app # Mount source code ke /app dalam container
|
||||
- /app/node_modules # Bind mount untuk node_modules untuk menghindari override dengan host
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- HOST=0.0.0.0
|
||||
- CI=true # Menghindari TTY prompt pada Nuxt/Consola
|
||||
- FOLDER_PATH=public/content
|
||||
- URL_BASE=ws://10.10.150.222:8080/api/v1/ws
|
||||
- QUERY=user_id=QRIS&room=BANKJATIM
|
||||
working_dir: /app
|
||||
networks:
|
||||
- qris-network
|
||||
|
||||
networks:
|
||||
qris-network:
|
||||
driver: bridge
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user