You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
I have a docker-compose setup that include postgres database service.
Apparently part of Postgres server initialisation process is stopping and restarting.
part of a normal postgres log that I saw parts of breifly in EFS log on the console before teh compose-cli deleted everything.
local-postgres9.5 | LOG: received fast shutdown request
local-postgres9.5 | LOG: aborting any active transactions
local-postgres9.5 | LOG: autovacuum launcher shutting down
local-postgres9.5 | LOG: shutting down
local-postgres9.5 | waiting for server to shut down....LOG: database system is shut down
local-postgres9.5 | done
local-postgres9.5 | server stopped
local-postgres9.5 |
local-postgres9.5 | PostgreSQL init process complete; ready for start up.
local-postgres9.5 |
local-postgres9.5 | LOG: database system was shut down at 2016-05-16 16:51:55 UTC
local-postgres9.5 | LOG: MultiXact member wraparound protections are now enabled
local-postgres9.5 | LOG: database system is ready to accept connections
FROM: this SO question as I wasn't fast enough to copy from the console
Steps to reproduce the issue:
Run docker compose --project-name name --file file.yml up with a docker-compose file similar to mine.
Describe the results you received:
After the DbService is created successfully and while three other services are being created, the health check fails for DbService and after deleting everything, the error I get is: DbService ServiceSchedulerInitiated: Task failed ELB health checks in (target-group arn:aws:elasticloadbalancing:us-east-1:[...])
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker-compose --version: Docker Compose version 2.12.2
Output of docker version:
Client:
Cloud integration: v1.0.29
Version: 20.10.21
API version: 1.41
Go version: go1.19.2
Git commit: baeda1f82a
Built: Thu Oct 27 21:30:31 2022
OS/Arch: linux/amd64
Context: myecscontext
Experimental: true
Server:
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.19.2
Git commit: 3056208812
Built: Thu Oct 27 21:29:34 2022
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.6.9
GitCommit: 1c90a442489720eec95342e1789ee8a5e1b9536f.m
runc:
Version: 1.1.4
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Output of docker context show:
You can also run docker context inspect context-name to give us more details but don't forget to remove sensitive content.
Additional environment details (AWS ECS, Azure ACI, local, etc.):
My docker-compose generates about 88 tasks and takes a while to startup some of the services.
Description
I have a docker-compose setup that include postgres database service.
Apparently part of Postgres server initialisation process is stopping and restarting.
part of a normal postgres log that I saw parts of breifly in EFS log on the console before teh compose-cli deleted everything.
FROM: this SO question as I wasn't fast enough to copy from the console
Steps to reproduce the issue:
docker compose --project-name name --file file.yml up
with a docker-compose file similar to mine.Describe the results you received:
After the DbService is created successfully and while three other services are being created, the health check fails for DbService and after deleting everything, the error I get is:
DbService ServiceSchedulerInitiated: Task failed ELB health checks in (target-group arn:aws:elasticloadbalancing:us-east-1:[...])
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker-compose --version
:Docker Compose version 2.12.2
Output of
docker version
:Output of
docker context show
:You can also run
docker context inspect context-name
to give us more details but don't forget to remove sensitive content.Output of
docker info
:Additional environment details (AWS ECS, Azure ACI, local, etc.):
My docker-compose generates about 88 tasks and takes a while to startup some of the services.
NOTE: I tried to disable health check to make sure it would all work after successful deployment:
That generated
HealthCheck: {}
inDbTaskDefinition
but faced that error
The text was updated successfully, but these errors were encountered: