mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
update
This commit is contained in:
parent
61d43a2c64
commit
2065d45b15
2 changed files with 222 additions and 0 deletions
|
|
@ -11,6 +11,14 @@
|
||||||
"url": "https://github.com/frappe/helpdesk",
|
"url": "https://github.com/frappe/helpdesk",
|
||||||
"branch": "main"
|
"branch": "main"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"url":"https://github.com/alyf-de/erpnext_germany",
|
||||||
|
"branch":"version-15"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url":"https://github.com/alyf-de/banking",
|
||||||
|
"branch":"version-15"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"url":"https://github.com/Grynn-GmbH/Swiss-E-invoicing-ERPNext",
|
"url":"https://github.com/Grynn-GmbH/Swiss-E-invoicing-ERPNext",
|
||||||
"branch":"master"
|
"branch":"master"
|
||||||
|
|
|
||||||
214
os-erpnext.yaml
Normal file
214
os-erpnext.yaml
Normal file
|
|
@ -0,0 +1,214 @@
|
||||||
|
name: os-erpnext
|
||||||
|
services:
|
||||||
|
backend:
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
required: true
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
configurator:
|
||||||
|
command:
|
||||||
|
- |
|
||||||
|
ls -1 apps > sites/apps.txt; bench set-config -g db_host $$DB_HOST; bench set-config -gp db_port $$DB_PORT; bench set-config -g redis_cache "redis://$$REDIS_CACHE"; 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;
|
||||||
|
depends_on:
|
||||||
|
redis-cache:
|
||||||
|
condition: service_started
|
||||||
|
required: true
|
||||||
|
redis-queue:
|
||||||
|
condition: service_started
|
||||||
|
required: true
|
||||||
|
entrypoint:
|
||||||
|
- bash
|
||||||
|
- -c
|
||||||
|
environment:
|
||||||
|
DB_HOST: ""
|
||||||
|
DB_PORT: ""
|
||||||
|
REDIS_CACHE: redis-cache:6379
|
||||||
|
REDIS_QUEUE: redis-queue:6379
|
||||||
|
SOCKETIO_PORT: "9000"
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
frontend:
|
||||||
|
command:
|
||||||
|
- nginx-entrypoint.sh
|
||||||
|
depends_on:
|
||||||
|
backend:
|
||||||
|
condition: service_started
|
||||||
|
required: true
|
||||||
|
websocket:
|
||||||
|
condition: service_started
|
||||||
|
required: true
|
||||||
|
environment:
|
||||||
|
BACKEND: backend:8000
|
||||||
|
CLIENT_MAX_BODY_SIZE: 50m
|
||||||
|
FRAPPE_SITE_NAME_HEADER: $$host
|
||||||
|
PROXY_READ_TIMEOUT: "120"
|
||||||
|
SOCKETIO: websocket:9000
|
||||||
|
UPSTREAM_REAL_IP_ADDRESS: 127.0.0.1
|
||||||
|
UPSTREAM_REAL_IP_HEADER: X-Forwarded-For
|
||||||
|
UPSTREAM_REAL_IP_RECURSIVE: "off"
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
labels:
|
||||||
|
traefik.docker.network: traefik-public
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.erp-akazia-eu-http.entrypoints: http
|
||||||
|
traefik.http.routers.erp-akazia-eu-http.middlewares: https-redirect
|
||||||
|
traefik.http.routers.erp-akazia-eu-http.rule: Host(`erp.akazia.eu`)
|
||||||
|
traefik.http.routers.erp-akazia-eu-http.service: erp-akazia-eu
|
||||||
|
traefik.http.routers.erp-akazia-eu-https.entrypoints: https
|
||||||
|
traefik.http.routers.erp-akazia-eu-https.rule: Host(`erp.akazia.eu`)
|
||||||
|
traefik.http.routers.erp-akazia-eu-https.service: erp-akazia-eu
|
||||||
|
traefik.http.routers.erp-akazia-eu-https.tls: "true"
|
||||||
|
traefik.http.routers.erp-akazia-eu-https.tls.certresolver: le
|
||||||
|
traefik.http.services.erp-akazia-eu.loadbalancer.server.port: "8080"
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
traefik-public: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
queue-long:
|
||||||
|
command:
|
||||||
|
- bench
|
||||||
|
- worker
|
||||||
|
- --queue
|
||||||
|
- long,default,short
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
required: true
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
queue-short:
|
||||||
|
command:
|
||||||
|
- bench
|
||||||
|
- worker
|
||||||
|
- --queue
|
||||||
|
- short,default
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
required: true
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
redis-cache:
|
||||||
|
image: redis:6.2-alpine
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: redis-cache-data
|
||||||
|
target: /data
|
||||||
|
volume: {}
|
||||||
|
redis-queue:
|
||||||
|
image: redis:6.2-alpine
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: redis-queue-data
|
||||||
|
target: /data
|
||||||
|
volume: {}
|
||||||
|
scheduler:
|
||||||
|
command:
|
||||||
|
- bench
|
||||||
|
- schedule
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
required: true
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
websocket:
|
||||||
|
command:
|
||||||
|
- node
|
||||||
|
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
required: true
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
networks:
|
||||||
|
bench-network: null
|
||||||
|
mariadb-network: null
|
||||||
|
platform: linux/amd64
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sites
|
||||||
|
target: /home/frappe/frappe-bench/sites
|
||||||
|
volume: {}
|
||||||
|
networks:
|
||||||
|
bench-network:
|
||||||
|
name: erp-akazia-eu
|
||||||
|
mariadb-network:
|
||||||
|
name: mariadb-network
|
||||||
|
external: true
|
||||||
|
traefik-public:
|
||||||
|
name: traefik-public
|
||||||
|
external: true
|
||||||
|
volumes:
|
||||||
|
redis-cache-data:
|
||||||
|
name: os-erpnext_redis-cache-data
|
||||||
|
redis-queue-data:
|
||||||
|
name: os-erpnext_redis-queue-data
|
||||||
|
sites:
|
||||||
|
name: os-erpnext_sites
|
||||||
|
x-backend-defaults:
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
volumes:
|
||||||
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
|
x-customizable-image:
|
||||||
|
image: frappe/erpnext:v15.24.0
|
||||||
|
x-depends-on-configurator:
|
||||||
|
depends_on:
|
||||||
|
configurator:
|
||||||
|
condition: service_completed_successfully
|
||||||
Loading…
Reference in a new issue