dvpwa
dvpwa copied to clipboard
Instructions for accessing this container
Hi!
Exploring your project for use in teaching kids. Could you add a little documentation for accessing your container after you've installed it? I'm sure this is basic docker stuff, but it's been a couple of years since I've done substantial docker work and now I can't recall how to access a running container from localhost. I'm sure I won't be the only person running into this issue :D
FWIW:
$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
28a7907aaa20 redis:alpine "docker-entrypoint.s…" 4 minutes ago Up 4 minutes 6379/tcp dvpwa_redis_1
c78d1813e5c4 dvpwa_postgres "docker-entrypoint.s…" 4 minutes ago Up 4 minutes 5432/tcp dvpwa_postgres_1
when I attempt to browse to localhost:8080 from the Host operating system, i get a traditional safari "server not found" error.
Hi, @CaptainMcCrank,
Sorry, I've noticed this issue only now. Unfortunately, there is indeed a little bug, due to which the first start is faulty (the application itself fails). This occurs because the database has not started at the moment when the application tries to connect to PostgreSQL, as migrations take some time and delay Postgres startup.
This should be fixed in https://github.com/anxolerd/dvpwa/commit/5ee2dc23502bcedcbc9ca1f6fce21f9137d4fe8c
@CaptainMcCrank, can you, please, check whether the issue was resolved?
I'll check back tomorrow with results.
My first pass review is that your documentation makes sense. I'll confirm that following the steps on my side results in expected behavior. Thank you!