Skip to content

Commit

Permalink
Install Latest Version to Mac/Linux Doc Update (#1360)
Browse files Browse the repository at this point in the history
* refactor: update from pwd.yml

* refactor: update erpnext image to v15
  • Loading branch information
arkenm authored Mar 29, 2024
1 parent b0373fd commit 177f5ab
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions docs/setup_for_linux_mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version: "3"

services:
backend:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand All @@ -25,21 +25,23 @@ services:
- logs:/home/frappe/frappe-bench/logs

configurator:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
condition: none
entrypoint:
- bash
- -c
# add redis_socketio for backward compatibility
command:
- >
ls -1 apps > sites/apps.txt;
bench set-config -g db_host $$DB_HOST;
bench set-config -gp db_port $$DB_PORT;
bench set-config -g redis_cache "redis://$$REDIS_CACHE";
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
bench set-config -g redis_socketio "redis://$$REDIS_QUEUE";
bench set-config -gp socketio_port $$SOCKETIO_PORT;
environment:
DB_HOST: db
Expand All @@ -52,7 +54,7 @@ services:
- logs:/home/frappe/frappe-bench/logs

create-site:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand Down Expand Up @@ -104,8 +106,10 @@ services:
- db-data:/var/lib/mysql

frontend:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
depends_on:
- websocket
deploy:
restart_policy:
condition: on-failure
Expand All @@ -127,7 +131,7 @@ services:
- "8080:8080"

queue-long:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand All @@ -136,13 +140,13 @@ services:
- bench
- worker
- --queue
- long
- long,default,short
volumes:
- sites:/home/frappe/frappe-bench/sites
- logs:/home/frappe/frappe-bench/logs

queue-short:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand All @@ -151,7 +155,7 @@ services:
- bench
- worker
- --queue
- short
- short,default
volumes:
- sites:/home/frappe/frappe-bench/sites
- logs:/home/frappe/frappe-bench/logs
Expand All @@ -175,7 +179,7 @@ services:
- redis-cache-data:/data

scheduler:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand All @@ -188,7 +192,7 @@ services:
- logs:/home/frappe/frappe-bench/logs

websocket:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
Expand Down

0 comments on commit 177f5ab

Please sign in to comment.