mirego/accent

Unable to run application, no clear error

Opened this issue · 1 comments

When I try to run using make dev-start-application, the application just stops immediately with the following logs:

Running migrations for accent…
** (EXIT from #PID<0.98.0>) shutdown

How do I resolve this issue?

Tried this both on an ARM MacBook Pro as on an AWS x86 EC2 instance, same issue.

Same issue here! m1 pro in my case

edit:
Fixed by changing the docker-compose.yml with de DB password as follows:

version: '3.7'
services:
application:
container_name: accent
build: .
ports:
- 4000:4000
depends_on:
- postgresql
environment:
- PORT=4000
- DATABASE_URL=postgres://postgres:password@postgresql:5432/accent_development
- DUMMY_LOGIN_ENABLED=1
postgresql:
image: postgres:15.6
container_name: accent-postgres
environment:
- POSTGRES_DB=accent_development
- POSTGRES_PASSWORD=password
ports:
- 5432:5432
volumes:
- accent_psql:/var/lib/postgresql/data
volumes:
accent_psql: