Commit 50f1d185 authored by chenos's avatar chenos
Browse files

fix: specify the env file path

parent 996e87da
main 0.4 0.5 0.7 0.7.6 Dunqing-feat-select-m2o-next acl acl-field acl-module actions api-fields app-manager audit-logs auditlogs block-schema changed-with-associations chore/error-message create-nocobase-app create-with-reverse-field database-next dev develop doc/api-database doc/db-repository doc/dev-res-action doc/new-user-manual doc/plugin-workflow doc/relation-repository enable-permission example/custom-signup-page example/util examples excel-function feat-add-block-title-feature feat-add-default-sort feat-association-field-block feat-association-field-features feat-default-value feat-fix-time-and-collection-pagination feat-fk-input feat-form-validator feat-kanban-add-description feat-m2o-sub-form-mode feat-record-block-initializers-fields-pick feat-relation-field-uischema feat/associate-operate feat/automations-doc feat/batch-operation feat/cache feat/changed-with-associations feat/client-v0.6 feat/collection-inherits feat/collection-templates feat/create-nocobase-app feat/database feat/dev-ci feat/field-unique feat/form-save-tip feat/get-json-schema-with-async-node feat/grap-collection feat/inherit-collection feat/kanban feat/logger feat/non-paged-list feat/plugin-collection-manager feat/plugin-collections-v0.6 feat/plugin-export feat/plugin-file-manager feat/plugin-import feat/plugin-import-2 feat/plugin-manager feat/plugin-manager-0823 feat/plugin-ui-schema-v0.6 feat/plugin-user-groups feat/plugin-users-with-jwt feat/plugin-verification feat/plugin-workflow feat/plugin-workflow-collection-field feat/pm feat/pnpm-support feat/reference-check feat/remove-assoc-fields-after-table-destroy feat/request-logs feat/resize-grid-columns feat/safer-update feat/submodule-graph-collection feat/table-related-components feat/tree-table-block feat/workflow-request feature/add-slate-component feature/allow_sign_up feature/build feature/custom_footer_bar feature/custom_operation feature/docs feature/export feature/i18next feature/insert-field-schema-after feature/nocobase-next-calendar feature/nocobase-next-filter feature/nocobase-next-markdown feature/plugin-export fix-acl fix-acl-role fix-acl-target-action-error fix-drag-area fix-formula-bug fix-link-to-default-value fix-multi-app-manager fix-multiple-apps fix-repository-test fix-reverse-field-update fix-template-menu fix-template-with-fields-only fix-timezone fix-ui-schema-transaction fix/association-deleted fix/attachment-upload fix/block-select-collection-menu fix/bulk-update-db-locked fix/collection-manager fix/collection-manager-0719 fix/collection-manager-del-foreign-key fix/create-inherits fix/custom-assign-value fix/database-find-with-appends fix/database-view-error fix/destroy-fields-by-array fix/docker-ci fix/empty-response fix/export-date fix/export-percent fix/form-item-label-style fix/form-sys-fields-default-edit-mode fix/kanban-image-thumbnail fix/kanban-text-overflow fix/menu-schema fix/menu-url-style fix/merge-include fix/plugin-cm fix/plugin-file-manager fix/plugin-workflow fix/table-data fix/table-field-overflow is-current-user master migrator next nocobase-build nocobase-next nocobase-next-action-log nocobase-next-cascader nocobase-next-checkbox nocobase-next-kanban perf/cache-schema perf/token plugin-acl plugin-application plugin-collection-manager plugin-multiple-apps plugin-ui-schema pre-release refactor/client refactor/database refactor/plugin-permission refactor/plugin-workflow refactor/plugin-workflow-ui relationships rollback schema-component-next sort-filed-init-value table-demo test-ci tree tree-demo v0.8.0-alpha.13 v0.8.0-alpha.11 v0.8.0-alpha.9 v0.8.0-alpha.8 v0.8.0-alpha.7 v0.8.0-alpha.6 v0.8.0-alpha.5 v0.8.0-alpha.3 v0.8.0-alpha.2 v0.8.0-alpha.1 v0.7.7-alpha.1 v0.7.6-alpha.2 v0.7.5-alpha.1.1666403334 v0.7.5-alpha.1 v0.7.4-alpha.7 v0.7.4-alpha.4 v0.7.4-alpha.1 v0.7.3-alpha.1 v0.7.2-alpha.2 v0.7.2-alpha.1 v0.7.1-alpha.5 v0.7.1-alpha.4 v0.7.0-alpha.82 v0.7.0-alpha.67 v0.7.0-alpha.64 v0.7.0-alpha.60 v0.7.0-alpha.59 v0.7.0-alpha.58 v0.7.0-alpha.57 v0.7.0-alpha.34 v0.7.0-alpha.33 v0.7.0-alpha.30 v0.7.0-alpha.29 v0.7.0-alpha.28 v0.7.0-alpha.24 v0.7.0-alpha.16 v0.7.0-alpha.15 v0.7.0-alpha.6 v0.7.0-alpha.5 v0.7.0-alpha.4 v0.7.0-alpha.3 v0.7.0-alpha.2 v0.7.0-alpha.1 v0.7.0-alpha.0 v0.6.2-alpha.12 v0.6.2-alpha.11 v0.6.2-alpha.10 v0.6.2-alpha.9 v0.6.2-alpha.7 v0.6.2-alpha.6 v0.6.2-alpha.5 v0.6.2-alpha.4 v0.6.2-alpha.3 v0.6.2-alpha.1 v0.6.2-alpha.0 v0.6.1-alpha.0 v0.6.0 v0.6.0-alpha.1 v0.5.0-alpha.33 v0.4.0-alpha.6 v0.4.0-alpha.5 v0.4.0-alpha.2 v0.4.0-alpha.1
No related merge requests found
Showing with 3173 additions and 3944 deletions
+3173 -3944
......@@ -5,7 +5,6 @@ networks:
services:
verdaccio:
image: verdaccio/verdaccio
container_name: "verdaccio"
networks:
- node-network
environment:
......@@ -41,13 +40,3 @@ services:
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_DATABASE}
POSTGRES_PASSWORD: ${DB_PASSWORD}
app:
build:
context: .
dockerfile: Dockerfile
command: [ "yarn", "start" ]
ports:
- "${APP_HTTP_PORT}:${APP_HTTP_PORT}"
- "${HTTP_PORT}:${HTTP_PORT}"
networks:
- node-network
\ No newline at end of file
......@@ -15,7 +15,9 @@ const sync = global.sync || {
console.log('process.env.NOCOBASE_ENV', process.env.NOCOBASE_ENV);
dotenv.config();
dotenv.config({
path: path.resolve(__dirname, '../../../.env'),
});
const api = Api.create({
database: {
......
import { defineConfig } from 'umi';
import dotenv from 'dotenv';
import path from 'path';
dotenv.config({
path: path.resolve(__dirname, '../../.env'),
});
console.log('process.env.API_PORT', process.env.API_PORT);
export default defineConfig({
title: false,
......
......@@ -24,6 +24,7 @@
"@ant-design/pro-layout": "^5.0.12",
"@formily/antd-components": "^1.3.6",
"@lourenci/react-kanban": "^2.1.0",
"@nocobase/client": "^0.4.0-alpha.0",
"@types/react-big-calendar": "^0.24.8",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.2.23",
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment