mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
feat: update gitignore
This commit is contained in:
parent
8d768d338e
commit
c51337cc74
2 changed files with 2 additions and 196 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -17,3 +17,5 @@ venv
|
||||||
|
|
||||||
# NodeJS
|
# NodeJS
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
docker-compose.yaml
|
||||||
|
|
@ -1,196 +0,0 @@
|
||||||
name: erp
|
|
||||||
services:
|
|
||||||
backend:
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
required: true
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
- type: volume
|
|
||||||
source: logs
|
|
||||||
target: /home/frappe/frappe-bench/logs
|
|
||||||
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;
|
|
||||||
entrypoint:
|
|
||||||
- bash
|
|
||||||
- -c
|
|
||||||
environment:
|
|
||||||
DB_HOST: ""
|
|
||||||
DB_PORT: ""
|
|
||||||
REDIS_CACHE: ""
|
|
||||||
REDIS_QUEUE: ""
|
|
||||||
SOCKETIO_PORT: "9000"
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
- type: volume
|
|
||||||
source: logs
|
|
||||||
target: /home/frappe/frappe-bench/logs
|
|
||||||
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: 100m
|
|
||||||
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: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
ports:
|
|
||||||
- mode: ingress
|
|
||||||
target: 8080
|
|
||||||
published: "8080"
|
|
||||||
protocol: tcp
|
|
||||||
pull_policy: always
|
|
||||||
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: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
- type: volume
|
|
||||||
source: logs
|
|
||||||
target: /home/frappe/frappe-bench/logs
|
|
||||||
volume: {}
|
|
||||||
queue-short:
|
|
||||||
command:
|
|
||||||
- bench
|
|
||||||
- worker
|
|
||||||
- --queue
|
|
||||||
- short,default
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
required: true
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
- type: volume
|
|
||||||
source: logs
|
|
||||||
target: /home/frappe/frappe-bench/logs
|
|
||||||
volume: {}
|
|
||||||
scheduler:
|
|
||||||
command:
|
|
||||||
- bench
|
|
||||||
- schedule
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
required: true
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
- type: volume
|
|
||||||
source: logs
|
|
||||||
target: /home/frappe/frappe-bench/logs
|
|
||||||
volume: {}
|
|
||||||
websocket:
|
|
||||||
command:
|
|
||||||
- node
|
|
||||||
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
required: true
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
networks:
|
|
||||||
default: null
|
|
||||||
platform: linux/amd64
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: sites
|
|
||||||
target: /home/frappe/frappe-bench/sites
|
|
||||||
volume: {}
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
name: erp_default
|
|
||||||
volumes:
|
|
||||||
logs:
|
|
||||||
name: logs
|
|
||||||
external: true
|
|
||||||
sites:
|
|
||||||
name: sites
|
|
||||||
external: true
|
|
||||||
x-backend-defaults:
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
|
||||||
x-customizable-image:
|
|
||||||
image: zapal/erp:version-15
|
|
||||||
pull_policy: always
|
|
||||||
x-depends-on-configurator:
|
|
||||||
depends_on:
|
|
||||||
configurator:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
Loading…
Reference in a new issue