Comments (6)
Hello David,
Docker-compose-UI at the moment is heavily dependent on a directory containing all of your docker-compose.yml files (i.e. /opt/docker-compose-projects/)...so I guess you should find a way to mount rancher's yml files directory as a volume (unfortunately I am not familiar with Rancher).
Can you find the directory where rancher store its docker compose yml files?
from docker-compose-ui.
Rancher manages docker-compose.yml files from the catalog, which can be added externally from a git repository, buy no idea how to mount rancher's yml folder as a volume...
I will ask at Rancher's forum!
Thanks Francesco!
from docker-compose-ui.
Hi @francescou I have created a project forking yours but adding auth and other features related with my "big project" right now, EduCaas. Take a look and feel free to comment/copy/hack/distribute, of course!!
https://github.com/dalareo/educaas-ui
from docker-compose-ui.
Hello David,
I've cloned your repo and started the project with docker-compose up
.
I have this error when I log in
educaas_ui_1 | Traceback (most recent call last):
educaas_ui_1 | File "/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
educaas_ui_1 | rv = self.dispatch_request()
educaas_ui_1 | File "/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
educaas_ui_1 | return self.view_functions[rule.endpoint](**req.view_args)
educaas_ui_1 | File "/app/scripts/__init__.py", line 76, in login
educaas_ui_1 | user = User.query.filter_by(email=json_data['email']).first()
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2634, in first
educaas_ui_1 | ret = list(self[0:1])
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
educaas_ui_1 | return list(res)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2736, in __iter__
educaas_ui_1 | return self._execute_and_instances(context)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances
educaas_ui_1 | result = conn.execute(querycontext.statement, self._params)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
educaas_ui_1 | return meth(self, multiparams, params)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
educaas_ui_1 | return connection._execute_clauseelement(self, multiparams, params)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
educaas_ui_1 | compiled_sql, distilled_params
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
educaas_ui_1 | context)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
educaas_ui_1 | exc_info
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
educaas_ui_1 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
educaas_ui_1 | context)
educaas_ui_1 | File "/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
educaas_ui_1 | cursor.execute(statement, parameters)
educaas_ui_1 | ProgrammingError: (psycopg2.ProgrammingError) relation "users" does not exist
educaas_ui_1 | LINE 2: FROM users
educaas_ui_1 | ^
educaas_ui_1 | [SQL: 'SELECT users.id AS users_id, users.email AS users_email, users.password AS users_password, users.registered_on AS users_registered_on, users.admin AS users_admin \nFROM users \nWHERE users.email = %(email_1)s \n LIMIT %(param_1)s'] [parameters: {'email_1': u'[email protected]', 'param_1': 1}]
educaas_ui_1 | INFO:werkzeug:172.17.0.1 - - [26/Apr/2016 09:40:35] "POST /api/v1/login HTTP/1.1" 500 -
from docker-compose-ui.
You will have to execute some commands first (still working on it). Check out docker-compose.yml file and you will find:
#following commands need to be run in a bash inside running container
#command: bash -c "/env/bin/python /app/manage.py create_db"
#command: bash -c "/env/bin/python /app/manage.py db init"
#command: bash -c "/env/bin/python /app/manage.py db migrate"
Execute the three ones inside your container before signing up or loggin in.
from docker-compose-ui.
nice work!
from docker-compose-ui.
Related Issues (20)
- How to access private Git repo? HOT 2
- Multiple Docker Engines HOT 1
- Question - Is this project right for me? HOT 2
- Problem with same name of parent directory HOT 1
- Add support for .yaml HOT 3
- Doesn't work on Red Hat Enterprise Linux Server 7.4 HOT 2
- Services: no containers found HOT 3
- [Enhancement] Edit docker-compose file for existing services HOT 7
- State of project not recognised if a folder has a hypenated name
- Very useful tool HOT 1
- docker-compose 3.7 HOT 2
- Bring specific container down that was started with scale
- Display service version
- Nested docker-compose.yml
- permissions security vulnerability HOT 1
- Project website URL on GitHub project doesn't work HOT 4
- HTTPS support?
- Support for armv7l
- Is the docker-compose-ui project dead? HOT 2
- python 3.9 support
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-compose-ui.