mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
Merge branch 'frappe:main' into main
This commit is contained in:
commit
b310238812
6 changed files with 19 additions and 19 deletions
|
|
@ -204,7 +204,7 @@ bench get-app --branch version-12 https://github.com/myusername/myapp
|
||||||
bench --site mysite.localhost install-app myapp
|
bench --site mysite.localhost install-app myapp
|
||||||
```
|
```
|
||||||
|
|
||||||
At the time of this writing, the Payments app has been factored out of the Version 14 ERPNext app and is now a separate app. ERPNext will not install without it, however, so we need to specify `--resolve-deps` command line switch to install it.
|
At the time of this writing, the Payments app has been factored out of the Version 14 ERPNext app and is now a separate app. ERPNext will not install it.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bench get-app --branch version-14 --resolve-deps erpnext
|
bench get-app --branch version-14 --resolve-deps erpnext
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Reference: https://github.com/frappe/frappe_docker/blob/main/docs/images-and-compose-files.md
|
# Reference: https://github.com/frappe/frappe_docker/blob/main/docs/images-and-compose-files.md
|
||||||
|
|
||||||
ERPNEXT_VERSION=v14.14.0
|
ERPNEXT_VERSION=v14.15.0
|
||||||
|
|
||||||
DB_PASSWORD=123
|
DB_PASSWORD=123
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-changeit}
|
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-changeit}
|
||||||
volumes:
|
volumes:
|
||||||
- ${HOME}/data/mariadb:/var/lib/mysql
|
- db-data:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- mariadb-network
|
- mariadb-network
|
||||||
|
|
||||||
|
|
@ -25,3 +25,6 @@ networks:
|
||||||
mariadb-network:
|
mariadb-network:
|
||||||
name: mariadb-network
|
name: mariadb-network
|
||||||
external: false
|
external: false
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db-data:
|
||||||
|
|
|
||||||
|
|
@ -42,4 +42,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- 443:443
|
||||||
volumes:
|
volumes:
|
||||||
- ${HOME}/data/traefik/certificates:/certificates
|
- cert-data:/certificates
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
cert-data:
|
||||||
|
|
|
||||||
18
pwd.yml
18
pwd.yml
|
|
@ -2,7 +2,7 @@ version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -11,7 +11,7 @@ services:
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
configurator:
|
configurator:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: none
|
condition: none
|
||||||
|
|
@ -38,7 +38,7 @@ services:
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
create-site:
|
create-site:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: none
|
condition: none
|
||||||
|
|
@ -89,7 +89,7 @@ services:
|
||||||
- db-data:/var/lib/mysql
|
- db-data:/var/lib/mysql
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -111,7 +111,7 @@ services:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
||||||
queue-default:
|
queue-default:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -125,7 +125,7 @@ services:
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -139,7 +139,7 @@ services:
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -177,7 +177,7 @@ services:
|
||||||
- redis-socketio-data:/data
|
- redis-socketio-data:/data
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
@ -189,7 +189,7 @@ services:
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
websocket:
|
websocket:
|
||||||
image: frappe/erpnext:v14.14.0
|
image: frappe/erpnext:v14.15.0
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
|
||||||
|
|
@ -89,12 +89,6 @@ def erpnext_site(compose: Compose):
|
||||||
"erpnext",
|
"erpnext",
|
||||||
site_name,
|
site_name,
|
||||||
]
|
]
|
||||||
erpnext_version = os.environ.get("ERPNEXT_VERSION")
|
|
||||||
if erpnext_version in [
|
|
||||||
"develop",
|
|
||||||
"version-14",
|
|
||||||
] or erpnext_version.startswith("v14"):
|
|
||||||
args.append("--install-app=payments")
|
|
||||||
compose.bench(*args)
|
compose.bench(*args)
|
||||||
compose("restart", "backend")
|
compose("restart", "backend")
|
||||||
yield site_name
|
yield site_name
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue