Skip to content

Commit

Permalink
erpnext
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 18, 2023
1 parent 43a1fe6 commit 32598b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/erpnext/.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
W9_POWER_PASSWORD=tfhdjX1vHiwGAi
W9_REPO=frappe/erpnext-worker
# Support ERPNext version: v13,v14
W9_VERSION=v14
W9_DIST=community

W9_POWER_PASSWORD=tfhdjX1vHiwGAi

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=erpnext
W9_HTTP_PORT_SET=9001
Expand All @@ -12,6 +13,6 @@ W9_URL_REPLACE=true
W9_URL=appname.example.com
W9_LOGIN_USER=Administrator
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
W9_DB_EXPOSE="mariadb,redis"
W9_DB_EXPOSE="mariadb"
W9_NETWORK=websoft9
#### ----------------------------------------------------------------------------------------- ####
6 changes: 3 additions & 3 deletions apps/erpnext/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: "3.8"
services:
backend:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
container_name: $W9_ID-backend
deploy:
restart_policy:
condition: on-failure
Expand All @@ -20,7 +20,7 @@ services:
command:
- configure.py
environment:
DB_HOST: mariadb
DB_HOST: $W9_ID-mariadb
DB_PORT: "3306"
REDIS_CACHE: redis:6379/0
REDIS_QUEUE: redis:6379/1
Expand Down Expand Up @@ -82,7 +82,7 @@ services:

frontend:
image: frappe/erpnext-nginx:$W9_VERSION
container_name: $W9_ID-frontend
container_name: $W9_ID
deploy:
restart_policy:
condition: on-failure
Expand Down

0 comments on commit 32598b4

Please sign in to comment.