Update docker-compose.yml
This commit is contained in:
parent
a410544d89
commit
2716bb4bc4
@ -16,6 +16,7 @@ services:
|
|||||||
|
|
||||||
configurator:
|
configurator:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-configurator
|
||||||
command:
|
command:
|
||||||
- configure.py
|
- configure.py
|
||||||
environment:
|
environment:
|
||||||
@ -30,6 +31,7 @@ services:
|
|||||||
|
|
||||||
create-site:
|
create-site:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-create-site
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -60,6 +62,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:10.6
|
image: mariadb:10.6
|
||||||
|
container:${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
|
||||||
@ -81,6 +84,7 @@ services:
|
|||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: frappe/erpnext-nginx:${APP_VERSION}
|
image: frappe/erpnext-nginx:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-frontend
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -99,6 +103,7 @@ services:
|
|||||||
|
|
||||||
queue-default:
|
queue-default:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-queue-default
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -112,6 +117,7 @@ services:
|
|||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-queue-long
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -125,6 +131,7 @@ services:
|
|||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-queue-short
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -138,6 +145,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
|
container:${APP_NAME}-redis
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -146,6 +154,7 @@ services:
|
|||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
image: frappe/erpnext-worker:${APP_VERSION}
|
image: frappe/erpnext-worker:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-scheduler
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -157,6 +166,7 @@ services:
|
|||||||
|
|
||||||
websocket:
|
websocket:
|
||||||
image: frappe/frappe-socketio:${APP_VERSION}
|
image: frappe/frappe-socketio:${APP_VERSION}
|
||||||
|
container:${APP_NAME}-websocket
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user