added frontend services

This commit is contained in:
2024-04-20 01:44:25 +07:00
parent 89967e7b35
commit cd709216ea

View File

@@ -1,6 +1,6 @@
version: "3" version: "3"
services: services:
web: backend:
build: build:
target: app # choose a stage to use target: app # choose a stage to use
ports: ports:
@@ -10,3 +10,10 @@ services:
- ./sqlite.db:/app/sqlite.db - ./sqlite.db:/app/sqlite.db
env_file: env_file:
- .env - .env
frontend:
build:
context: ../sorvor-front
args:
- VUE_APP_API_URL
ports:
- 3002:3000