fix login and some errors while login
This commit is contained in:
+30
-1
@@ -81,6 +81,17 @@ services:
|
||||
- postgres_bootstrap_state:/state
|
||||
- api_uploads_dev:/var/lib/rentaldrivego/storage
|
||||
|
||||
types:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
command: ["sh", "-c", "cd /app/packages/types && exec npm run dev"]
|
||||
volumes:
|
||||
- .:/app
|
||||
- app_node_modules:/app/node_modules
|
||||
restart: unless-stopped
|
||||
profiles: ["api", "marketplace", "dashboard", "admin", "full"]
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
@@ -92,11 +103,15 @@ services:
|
||||
condition: service_started
|
||||
migrate:
|
||||
condition: service_completed_successfully
|
||||
types:
|
||||
condition: service_started
|
||||
env_file:
|
||||
- .env.docker.dev
|
||||
environment:
|
||||
CHOKIDAR_USEPOLLING: "true"
|
||||
CHOKIDAR_INTERVAL: "1000"
|
||||
FILE_STORAGE_ROOT: /var/lib/rentaldrivego/storage
|
||||
command: ["sh", "-c", "npm run build --workspace @rentaldrivego/types && cd /app/apps/api && exec /app/node_modules/.bin/ts-node-dev --respawn --transpile-only --ignore-watch ../../packages/types/dist src/index.ts"]
|
||||
command: ["sh", "-c", "npm run build --workspace @rentaldrivego/types && cd /app/apps/api && exec /app/node_modules/.bin/ts-node-dev --respawn --transpile-only src/index.ts"]
|
||||
ports:
|
||||
- "4000:4000"
|
||||
volumes:
|
||||
@@ -112,8 +127,13 @@ services:
|
||||
dockerfile: Dockerfile.dev
|
||||
depends_on:
|
||||
- api
|
||||
- types
|
||||
env_file:
|
||||
- .env.docker.dev
|
||||
environment:
|
||||
CHOKIDAR_USEPOLLING: "true"
|
||||
CHOKIDAR_INTERVAL: "1000"
|
||||
WATCHPACK_POLLING: "true"
|
||||
command:
|
||||
[
|
||||
"sh",
|
||||
@@ -135,8 +155,13 @@ services:
|
||||
dockerfile: Dockerfile.dev
|
||||
depends_on:
|
||||
- api
|
||||
- types
|
||||
env_file:
|
||||
- .env.docker.dev
|
||||
environment:
|
||||
CHOKIDAR_USEPOLLING: "true"
|
||||
CHOKIDAR_INTERVAL: "1000"
|
||||
WATCHPACK_POLLING: "true"
|
||||
command:
|
||||
[
|
||||
"sh",
|
||||
@@ -158,10 +183,14 @@ services:
|
||||
dockerfile: Dockerfile.dev
|
||||
depends_on:
|
||||
- api
|
||||
- types
|
||||
env_file:
|
||||
- .env.docker.dev
|
||||
environment:
|
||||
ADMIN_ASSET_PREFIX: "http://localhost:3002"
|
||||
CHOKIDAR_USEPOLLING: "true"
|
||||
CHOKIDAR_INTERVAL: "1000"
|
||||
WATCHPACK_POLLING: "true"
|
||||
command:
|
||||
[
|
||||
"sh",
|
||||
|
||||
Reference in New Issue
Block a user