WeblateOrg / docker-compose

Docker compose for Weblate
https://docs.weblate.org/en/latest/admin/deployments.html#docker
GNU General Public License v3.0
77 stars 64 forks source link

Both containers is always restarting #135

Closed fishfree closed 2 years ago

fishfree commented 2 years ago

Describe the issue

root@ip-172-26-6-209:/opt/weblate# vi docker-compose.override.yml
root@ip-172-26-6-209:/opt/weblate# docker-compose up -d
[+] Running 9/9
 ⠿ database Pulled                                                14.8s
   ⠿ 59bf1c3509f3 Already exists                                   0.0s
   ⠿ c50e01d57241 Already exists                                   0.0s
   ⠿ a0646b0f1ead Already exists                                   0.0s
   ⠿ 13e1654659bd Pull complete                                    9.7s
   ⠿ e3b9a3f3f99a Pull complete                                    9.8s
   ⠿ 4fedc9442766 Pull complete                                    9.9s
   ⠿ bebd9fd7df3c Pull complete                                   10.0s
   ⠿ 57e39b7da4a2 Pull complete                                   10.0s
[+] Running 3/3
 ⠿ Container weblate-database-1  Started                           1.7s
 ⠿ Container weblate-cache-1     Ru...                             0.0s
 ⠿ Container weblate-weblate-1   Started                           1.5s
root@ip-172-26-6-209:/opt/weblate# docker ps
CONTAINER ID   IMAGE                  COMMAND                  CREATED         STATUS                          PORTS                  
0a9c86b247d1   weblate/weblate        "/app/bin/start runs…"   3 minutes ago   Restarting (1) 17 seconds ago                          
0512851d6565   postgres:14-alpine     "docker-entrypoint.s…"   3 minutes ago   Restarting (1) 18 seconds ago 

I already tried

Steps to reproduce the behavior

No response

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

Additional context

No response

nijel commented 2 years ago

Can you share the logs?

github-actions[bot] commented 2 years ago

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

fishfree commented 2 years ago

Can you share the logs?

Thank you for your tip. I notice the log shows there is a mandatory config item missing in the docker-compose.override.yml。

github-actions[bot] commented 2 years ago

The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.