-
Notifications
You must be signed in to change notification settings - Fork 7
Stopped for a few seconds with exit code 1 #10
Comments
Hi @Yersi88. The error message is pretty self-explanatory, so I don't really understand what you think is the issue here. |
Hello @lubo, I'm sorry for opening issue when it's just my incompetence :) But, I just have no idea how to set it up, I know I need to edit config file but I have no idea how to do it as it takes the config file from the repository. (I use portrainer to deploy my docker containers. Maybe some more detaled installation instructions for noobs? Thanks for the reply! |
add the settings.py file to the docker-compose volume and change the name of your database with the name of the docker service :) |
Thank you, indeed it's working after that. However, I'm now it seems I'm unable to populate the database. Here are some logs from Containers > docker-taiga-5_migrations_1 > Logs Trying import local.py settings... System check identified some issues: � : ?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems. ?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS. ?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions. System check identified 3 issues (4 silenced). Trying import local.py settings... Installed 3 object(s) from 2 fixture(s) Trying import local.py settings... System check identified some issues: � : ?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems. ?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS. ?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions. System check identified 3 issues (4 silenced). Trying import local.py settings... Installed 3 object(s) from 2 fixture(s) |
Hi, I can’t start the container it exits with above code all the time.
Log stops at:
django.db.utils.OperationalError: could not translate host name "database" to address: Name does not resolve
The text was updated successfully, but these errors were encountered: