2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Install Latest Version to Mac/Linux Doc Update (#1360)

* refactor: update from pwd.yml

* refactor: update erpnext image to v15
This commit is contained in:
Arken June Malvecino 2024-03-29 12:55:34 +08:00 committed by GitHub
parent b0373fd6a3
commit 177f5ab96f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ version: "3"
services:
backend:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
@ -25,7 +25,7 @@ services:
- logs:/home/frappe/frappe-bench/logs
configurator:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
@ -33,6 +33,7 @@ services:
entrypoint:
- bash
- -c
# add redis_socketio for backward compatibility
command:
- >
ls -1 apps > sites/apps.txt;
@ -40,6 +41,7 @@ services:
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
@ -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:
@ -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
@ -127,7 +131,7 @@ services:
- "8080:8080"
queue-long:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
@ -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:
@ -151,7 +155,7 @@ services:
- bench
- worker
- --queue
- short
- short,default
volumes:
- sites:/home/frappe/frappe-bench/sites
- logs:/home/frappe/frappe-bench/logs
@ -175,7 +179,7 @@ services:
- redis-cache-data:/data
scheduler:
image: frappe/erpnext:v14
image: frappe/erpnext:v15
platform: linux/amd64
deploy:
restart_policy:
@ -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: