2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-23 23:28:27 +00:00

Use new version variables in compose files

This commit is contained in:
Tim Bolender 2020-09-22 10:16:07 +00:00
parent a3ed6b8403
commit 9b7719455e
3 changed files with 15 additions and 15 deletions

View File

@ -46,7 +46,7 @@ services:
- assets-vol:/home/frappe/frappe-bench/sites/assets:rw - assets-vol:/home/frappe/frappe-bench/sites/assets:rw
frappe-socketio: frappe-socketio:
image: frappe/frappe-socketio:${VERSION} image: frappe/frappe-socketio:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
depends_on: depends_on:
- redis-socketio - redis-socketio

View File

@ -2,7 +2,7 @@ version: '3'
services: services:
erpnext-nginx: erpnext-nginx:
image: frappe/erpnext-nginx:${VERSION} image: frappe/erpnext-nginx:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
environment: environment:
- FRAPPE_PY=erpnext-python - FRAPPE_PY=erpnext-python
@ -29,7 +29,7 @@ services:
- assets-vol:/assets:rw - assets-vol:/assets:rw
erpnext-python: erpnext-python:
image: frappe/erpnext-worker:${VERSION} image: frappe/erpnext-worker:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
environment: environment:
- MARIADB_HOST=${MARIADB_HOST} - MARIADB_HOST=${MARIADB_HOST}
@ -43,7 +43,7 @@ services:
- assets-vol:/home/frappe/frappe-bench/sites/assets:rw - assets-vol:/home/frappe/frappe-bench/sites/assets:rw
frappe-socketio: frappe-socketio:
image: frappe/frappe-socketio:${VERSION} image: frappe/frappe-socketio:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
depends_on: depends_on:
- redis-socketio - redis-socketio
@ -53,7 +53,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-default: frappe-worker-default:
image: frappe/erpnext-worker:${VERSION} image: frappe/erpnext-worker:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
depends_on: depends_on:
@ -66,7 +66,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-short: frappe-worker-short:
image: frappe/erpnext-worker:${VERSION} image: frappe/erpnext-worker:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
environment: environment:
@ -81,7 +81,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-long: frappe-worker-long:
image: frappe/erpnext-worker:${VERSION} image: frappe/erpnext-worker:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
environment: environment:
@ -96,7 +96,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-schedule: frappe-schedule:
image: frappe/erpnext-worker:${VERSION} image: frappe/erpnext-worker:${ERPNEXT_VERSION}
restart: on-failure restart: on-failure
command: schedule command: schedule
depends_on: depends_on:

View File

@ -2,7 +2,7 @@ version: '3'
services: services:
frappe-nginx: frappe-nginx:
image: frappe/frappe-nginx:${VERSION} image: frappe/frappe-nginx:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
environment: environment:
- FRAPPE_PY=frappe-python - FRAPPE_PY=frappe-python
@ -29,7 +29,7 @@ services:
- assets-vol:/assets:rw - assets-vol:/assets:rw
frappe-python: frappe-python:
image: frappe/frappe-worker:${VERSION} image: frappe/frappe-worker:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
environment: environment:
- MARIADB_HOST=${MARIADB_HOST} - MARIADB_HOST=${MARIADB_HOST}
@ -43,7 +43,7 @@ services:
- assets-vol:/home/frappe/frappe-bench/sites/assets:rw - assets-vol:/home/frappe/frappe-bench/sites/assets:rw
frappe-socketio: frappe-socketio:
image: frappe/frappe-socketio:${VERSION} image: frappe/frappe-socketio:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
depends_on: depends_on:
- redis-socketio - redis-socketio
@ -53,7 +53,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-default: frappe-worker-default:
image: frappe/frappe-worker:${VERSION} image: frappe/frappe-worker:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
depends_on: depends_on:
@ -66,7 +66,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-short: frappe-worker-short:
image: frappe/frappe-worker:${VERSION} image: frappe/frappe-worker:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
environment: environment:
@ -81,7 +81,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-worker-long: frappe-worker-long:
image: frappe/frappe-worker:${VERSION} image: frappe/frappe-worker:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
command: worker command: worker
environment: environment:
@ -96,7 +96,7 @@ services:
- sites-vol:/home/frappe/frappe-bench/sites:rw - sites-vol:/home/frappe/frappe-bench/sites:rw
frappe-schedule: frappe-schedule:
image: frappe/frappe-worker:${VERSION} image: frappe/frappe-worker:${FRAPPE_VERSION}
restart: on-failure restart: on-failure
command: schedule command: schedule
depends_on: depends_on: