mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-27 22:03:42 +08:00
init
This commit is contained in:
17
backend/.env
Normal file
17
backend/.env
Normal file
@@ -0,0 +1,17 @@
|
||||
COMPOSE_PROJECT_NAME=mjga
|
||||
# database
|
||||
DATABASE_HOST_PORT=host.docker.internal:5432
|
||||
DATABASE_STORE=~/docker/store/mjga/db/data
|
||||
DATABASE_DB=mjga
|
||||
DATABASE_DEFAULT_SCHEMA=public
|
||||
DATABASE_USER=mjga
|
||||
DATABASE_PASSWORD=mjga
|
||||
DATABASE_EXPOSE_PORT=5432
|
||||
# web
|
||||
WEB_EXPOSE_PORT=8080
|
||||
LOG_PATH=~/docker/store/mjga/log
|
||||
# cors
|
||||
ALLOWED_ORIGINS=http://localhost,https://localhost,http://localhost:8080,http://localhost:5173
|
||||
ALLOWED_METHODS=*
|
||||
ALLOWED_HEADERS=*
|
||||
ALLOWED_EXPOSE_HEADERS=*
|
||||
Reference in New Issue
Block a user