Update docker-compose.yml
This commit is contained in:
parent
2716bb4bc4
commit
8c1797ee8e
@ -6,7 +6,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}
|
container_name: ${APP_NAME}
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -16,7 +16,7 @@ services:
|
|||||||
|
|
||||||
configurator:
|
configurator:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-configurator
|
container_name: ${APP_NAME}-configurator
|
||||||
command:
|
command:
|
||||||
- configure.py
|
- configure.py
|
||||||
environment:
|
environment:
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
|
|
||||||
create-site:
|
create-site:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-create-site
|
container_name: ${APP_NAME}-create-site
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -62,7 +62,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
container:${APP_NAME}-db
|
container_name: ${APP_NAME}-db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: mysqladmin ping -h localhost --password=${DB_MARIA_PASSWORD}
|
test: mysqladmin ping -h localhost --password=${DB_MARIA_PASSWORD}
|
||||||
interval: 1s
|
interval: 1s
|
||||||
@ -84,7 +84,7 @@ services:
|
|||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: frappe/erpnext-nginx:${APP_VERSION}
|
image: frappe/erpnext-nginx:${APP_VERSION}
|
||||||
container:${APP_NAME}-frontend
|
container_name: ${APP_NAME}-frontend
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -103,7 +103,7 @@ services:
|
|||||||
|
|
||||||
queue-default:
|
queue-default:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-queue-default
|
container_name: ${APP_NAME}-queue-default
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -117,7 +117,7 @@ services:
|
|||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-queue-long
|
container_name: ${APP_NAME}-queue-long
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -131,7 +131,7 @@ services:
|
|||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-queue-short
|
container_name: ${APP_NAME}-queue-short
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -145,7 +145,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
container:${APP_NAME}-redis
|
container_name: ${APP_NAME}-redis
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -154,7 +154,7 @@ services:
|
|||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
container:${APP_NAME}-scheduler
|
container_name: ${APP_NAME}-scheduler
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -166,7 +166,7 @@ services:
|
|||||||
|
|
||||||
websocket:
|
websocket:
|
||||||
image: frappe/frappe-socketio:${APP_VERSION}
|
image: frappe/frappe-socketio:${APP_VERSION}
|
||||||
container:${APP_NAME}-websocket
|
container_name: ${APP_NAME}-websocket
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user