-
Notifications
You must be signed in to change notification settings - Fork 127
Struggling with the docker support of this project. #300
Comments
I should try. but as nobody care about that project, I didn't take care of the docker file. |
Oh man, I'll use the heck out of this project if it works! The fact that you can run hooks based on RSS feeds alone is hugely useful for me, I've literally been looking for something that will do this for years! The biggest flaws I have found in the Docker stuff are as follows:
|
I followed this page https://trigger-happy.readthedocs.io/en/latest/docker_guide/index.html and all went well after docker-compose up you can see
so follow the steps
You can meet problem but that could be because of some systemp lib not installed, like libtidy, or the redis server package not installed |
I will provide a asciinema recording to show my results shortly. |
It's also very strange that there is more than one FROM line in the default Dockerfile |
|
This here is the broken appliance that is deployed via following the instructions to the letter. http://s.nixc.us:8000/ |
yes ; it's "normal" , As I've written this occurs because you did the step "Run" before the step "Database"
|
Oh, I see! Can we possibly rewrite the instructions to reflect the better order? |
yes :) |
Okay still no joy |
set the var
in the |
Could it be set in the |
i don't know I don't thing so. |
Okay so I'm struggling to locate |
you entered the path of that file 3 times :) it's in django_th folder django_th/settings_docker.py |
nano django_th/settings_docker.py from where you are |
Ah I'm not sure why using the github search function wasn't showing me that file. Okay, I'll add that is there any other commands that I should be re-running prior to re-launching? |
just the "up" |
File "/app/django_th/settings_docker.py", line 11
'ALLOWED_HOSTS = ['s.nixc.us']',
^
SyntaxError: invalid syntax root@s:/tmp/django-th|master⚡ ⇒ cat django_th/settings_docker.py
from .th_settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'postgres',
'USER': 'postgres',
# 'PASSWORD': 'th_pass',
'HOST': 'db',
'PORT': 5432,
'ALLOWED_HOSTS = ['s.nixc.us']',
}
} |
|
HA I guess I should learn to read Python that makes way more sense. Sorry for the total rookie mistake. I know docker not python :P |
Okay, awesome! Is there a way that we can have that setting either documented or added to that install script that is run in the setup? The thing is successfully running however sadly it doesn't auto redirect from http://my.tld:8000/ to http://my.tld:8000/th/ so you immediately get a 404 of a sort |
yes yes now the login user is the superuser you created earlier |
Yes, that worked perfectly! |
#304 would be the continuation of this. |
Creating a new issue for a bug report
🐛 If you think you've spotted a bug, give as many details as possible by starting with that informations:
I posted the details in the Gitter but basically the docker stuff needs a lot of work seemingly. I can't go from a git clone, follow instructions, and get a running appliance.
## Feature Request
Just want to get a kick the tires instance up and running and Docker is usually the route but it seems this project may have abandoned the docker stuff. Either that or the documentation has drifted significantly.
The text was updated successfully, but these errors were encountered: