Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

How do I know that `docker compose ...` is ready

Open elcolie opened this issue 2 years ago • 3 comments

open-assistant-backend-1              | 2023-05-08 08:17:46.757 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_troll_ranks(time_frame=day)' executed in 0.010228 s
open-assistant-backend-1              | 2023-05-08 08:17:46.762 | INFO     | oasst_shared.utils:wrapped:60 - Function 'update_stats(time_frame=day)' executed in 0.237543 s
open-assistant-backend-1              | 2023-05-08 08:17:46.803 | DEBUG    | oasst_backend.user_stats_repository:update_leader_ranks:581 - pre_compute_ranks leader updated(time_frame=<UserStatsTimeFrame.week: 'week'>) 0 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.804 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_leader_ranks(time_frame=week)' executed in 0.010930 s
open-assistant-backend-1              | 2023-05-08 08:17:46.827 | DEBUG    | oasst_backend.user_stats_repository:update_leader_ranks:581 - pre_compute_ranks leader updated(time_frame=<UserStatsTimeFrame.total: 'total'>) 0 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.828 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_leader_ranks(time_frame=total)' executed in 0.011997 s
open-assistant-backend-1              | 2023-05-08 08:17:46.837 | DEBUG    | oasst_backend.user_stats_repository:update_leader_ranks:581 - pre_compute_ranks leader updated(time_frame=<UserStatsTimeFrame.month: 'month'>) 0 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.837 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_leader_ranks(time_frame=month)' executed in 0.020614 s
open-assistant-backend-1              | 2023-05-08 08:17:46.858 | DEBUG    | oasst_backend.user_stats_repository:update_troll_ranks:603 - pre_compute_ranks troll updated(time_frame=<UserStatsTimeFrame.week: 'week'>) 1 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.858 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_troll_ranks(time_frame=week)' executed in 0.010954 s
open-assistant-backend-1              | 2023-05-08 08:17:46.878 | INFO     | oasst_shared.utils:wrapped:60 - Function 'update_stats(time_frame=week)' executed in 0.344893 s
open-assistant-backend-1              | 2023-05-08 08:17:46.892 | DEBUG    | oasst_backend.user_stats_repository:update_troll_ranks:603 - pre_compute_ranks troll updated(time_frame=<UserStatsTimeFrame.month: 'month'>) 1 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.893 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_troll_ranks(time_frame=month)' executed in 0.006471 s
open-assistant-backend-1              | 2023-05-08 08:17:46.896 | INFO     | oasst_shared.utils:wrapped:60 - Function 'update_stats(time_frame=month)' executed in 0.359960 s
open-assistant-backend-1              | 2023-05-08 08:17:46.900 | DEBUG    | oasst_backend.user_stats_repository:update_troll_ranks:603 - pre_compute_ranks troll updated(time_frame=<UserStatsTimeFrame.total: 'total'>) 1 rows.
open-assistant-backend-1              | 2023-05-08 08:17:46.901 | DEBUG    | oasst_shared.utils:wrapped:60 - Function 'update_troll_ranks(time_frame=total)' executed in 0.006310 s
open-assistant-backend-1              | 2023-05-08 08:17:46.903 | INFO     | oasst_shared.utils:wrapped:60 - Function 'update_stats(time_frame=total)' executed in 0.357743 s

It has been a while. And localhost:3000 still says This site can't be reached.

How do I know when docker compose ... is ready?

elcolie avatar May 08 '23 08:05 elcolie

Which docker compose command did you run

olliestanley avatar May 08 '23 08:05 olliestanley

DB_PLATFORM=linux/x86_64 docker compose --profile ci up --build --attach-dependencies

elcolie avatar May 08 '23 08:05 elcolie

from the output in your first message, if that is all containers, you are missing some other containers, like -db, -web, -backend, -mail-dev, -redis. have a look the compose file docker-compose.yaml, that is the one controls the containers.

tyeestudio avatar May 12 '23 01:05 tyeestudio