mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-25 16:18:32 +00:00
Merge pull request #291 from sunhoww/custom-app
fix: custom compose build context
This commit is contained in:
commit
aa3ef11b69
@ -4,11 +4,10 @@ services:
|
|||||||
[app]-assets:
|
[app]-assets:
|
||||||
image: [app]-assets
|
image: [app]-assets
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ../build/[app]-nginx
|
||||||
dockerfile: ./build/[app]-assets/Dockerfile
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
- FRAPPE_PY=erpnext-python
|
- FRAPPE_PY=[app]-python
|
||||||
- FRAPPE_PY_PORT=8000
|
- FRAPPE_PY_PORT=8000
|
||||||
- FRAPPE_SOCKETIO=frappe-socketio
|
- FRAPPE_SOCKETIO=frappe-socketio
|
||||||
- SOCKETIO_PORT=9000
|
- SOCKETIO_PORT=9000
|
||||||
@ -34,8 +33,7 @@ services:
|
|||||||
[app]-python:
|
[app]-python:
|
||||||
image: [app]-worker
|
image: [app]-worker
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ../build/[app]-worker
|
||||||
dockerfile: ./build/[app]-worker/Dockerfile
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
- MARIADB_HOST=${MARIADB_HOST}
|
- MARIADB_HOST=${MARIADB_HOST}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user