Comments (5)
Hi,
The installation is actually pretty straightforward : select the version you want in the images folder, run the docker-compose with docker-compose up -d
and that's it.
You should take a look at the Travis CI test suite https://github.com/Monogramm/docker-erpnext/blob/master/.travis.yml : the automated tests do not only check that the Docker image builds properly, it also check that it runs.
You can look at the Travis CI runs and logs (link at the top of the README) to see the installation sequence.
Let me know if you have another issue or if I misunderstood your point.
from docker-erpnext.
I see that you are using Alpine variant.
Alpine is great for its improved security and performance (smaller image) but building containers for alpine almost always takes more time, and ERPNext is extremely slow to retrieve on Alpine : if you look at Travis CI build results, it takes 28 minutes to get ERPNext on Alpine, while it takes only 2 minutes on Debian... and I have no idea why it's so slow 😅
If you're fine with using the default content of our images (ie. no need to add any apps), I suggest you update the docker-compose to use our prebuilt images from DockerHub:
- replace every occurrence of
build: ./
withimage: monogramm/docker-erpnext:11-alpine
- run the docker-compose with
docker-compose up -d
I will probably update the docker-compose, add some comments, to help use prebuilt images.
from docker-erpnext.
Hi,
The installation is actually pretty straightforward : select the version you want in the images folder, run the docker-compose with
docker-compose up -d
and that's it.You should take a look at the Travis CI test suite https://github.com/Monogramm/docker-erpnext/blob/master/.travis.yml : the automated tests do not only check that the Docker image builds properly, it also check that it runs.
You can look at the Travis CI runs and logs (link at the top of the README) to see the installation sequence.Let me know if you have another issue or if I misunderstood your point.
Hi, mine freezes here :
_Building erpnext_app
Step 1/5 : FROM monogramm/docker-frappe:11-alpine
---> 919653b56cb1
Step 2/5 : LABEL maintainer "Monogramm Maintainers "
---> Using cache
---> 94a1b2672180
Step 3/5 : ENV ERPNEXT_BRANCH v11.1.46
---> Using cache
---> 7724a4539d36
Step 4/5 : RUN set -ex; bench get-app --branch $ERPNEXT_BRANCH erpnext https://github.com/frappe/erpnext; sudo ./env/bin/pip3 install ldap3 ;
---> Running in 5fc8a0f56fb8
- bench get-app --branch v11.1.46 erpnext https://github.com/frappe/erpnext
INFO:bench.app:getting app erpnext
INFO:bench.utils:git clone https://github.com/frappe/erpnext --branch v11.1.46 --depth 1 --origin upstream
Cloning into 'erpnext'...
Note: checking out '9a858a98246a88e441bcc399f2e2a8f99892fa4d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Checking out files: 100% (5276/5276), done.
INFO:bench.app:installing erpnext
INFO:bench.utils:./env/bin/pip install -q -e ./apps/erpnext_
Am installing on a digital ocean centos7 environment.
from docker-erpnext.
Okay I have managed to run the 11.1 version using docker-compose up -d
Running docker ps i get the following :
[root@prenus alpine]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
73cb113dfe34 redis:alpine "docker-entrypoint..." 27 seconds ago Up 23 seconds 6379/tcp erpnext_redis_queue
af05875228c2 redis:alpine "docker-entrypoint..." 27 seconds ago Up 24 seconds 6379/tcp erpnext_redis_socketio
Am looking for the running app and perhaps an image with open ports to point my browser to but only the redis containers are running. Where is the erpnext app?
from docker-erpnext.
You should use docker-compose ps
instead to get the status of all the containers listed in your docker-compose.
If you only see the redis containers, it means the others crashed and you need to find out why.
Once you have found the reason of the crash and fixed it, there is a nginx container exposing ERPNext at http://localhost:80.
I added comments and simple doc in README about this so closing this issue.
from docker-erpnext.
Related Issues (17)
- Adding Custom Domains to your Site HOT 1
- Scheduler not running after migrating from v10->v11 HOT 7
- Please update, such as V12.6, thank you!
- Installation fails HOT 1
- [BUG] ERPNext Setup with Debian image failed HOT 6
- [Question] about bench operations HOT 1
- Database error Alpine Image HOT 1
- [HELP] connect to server from public ip is rejected HOT 1
- Authentication error after installing HOT 3
- [BUG] Site xxx does not exist HOT 1
- «Sorry! We will be back soon.» after install HOT 2
- Custom app & Multi tenancy? HOT 1
- [BUG] Redis connection to localhost:12000 failed and redis.exceptions.ConnectionError: Error 99 connecting to localhost:11000. Cannot assign requested address HOT 1
- [BUG] Module import failed for Naming Series (erpnext.setup.doctype.naming_series.naming_series Error: cannot import name 'validate_series' HOT 2
- [BUG] Bug #46: Environment variables REDIS_* are not applied to site_config.json
- Installation Instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-erpnext.