mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 14:50:58 +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:
parent
b0373fd6a3
commit
177f5ab96f
@ -15,7 +15,7 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
configurator:
|
configurator:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -33,6 +33,7 @@ services:
|
|||||||
entrypoint:
|
entrypoint:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
|
# add redis_socketio for backward compatibility
|
||||||
command:
|
command:
|
||||||
- >
|
- >
|
||||||
ls -1 apps > sites/apps.txt;
|
ls -1 apps > sites/apps.txt;
|
||||||
@ -40,6 +41,7 @@ services:
|
|||||||
bench set-config -gp db_port $$DB_PORT;
|
bench set-config -gp db_port $$DB_PORT;
|
||||||
bench set-config -g redis_cache "redis://$$REDIS_CACHE";
|
bench set-config -g redis_cache "redis://$$REDIS_CACHE";
|
||||||
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
|
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;
|
bench set-config -gp socketio_port $$SOCKETIO_PORT;
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
@ -52,7 +54,7 @@ services:
|
|||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
create-site:
|
create-site:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -104,8 +106,10 @@ services:
|
|||||||
- db-data:/var/lib/mysql
|
- db-data:/var/lib/mysql
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
depends_on:
|
||||||
|
- websocket
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -127,7 +131,7 @@ services:
|
|||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -136,13 +140,13 @@ services:
|
|||||||
- bench
|
- bench
|
||||||
- worker
|
- worker
|
||||||
- --queue
|
- --queue
|
||||||
- long
|
- long,default,short
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -151,7 +155,7 @@ services:
|
|||||||
- bench
|
- bench
|
||||||
- worker
|
- worker
|
||||||
- --queue
|
- --queue
|
||||||
- short
|
- short,default
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
@ -175,7 +179,7 @@ services:
|
|||||||
- redis-cache-data:/data
|
- redis-cache-data:/data
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@ -188,7 +192,7 @@ services:
|
|||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
||||||
websocket:
|
websocket:
|
||||||
image: frappe/erpnext:v14
|
image: frappe/erpnext:v15
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
|
Loading…
Reference in New Issue
Block a user