2026-09-05 09:41:44 +00:00
|
|
|
# Opt-in host access for local Rust development only.
|
2026-09-07 08:27:33 +00:00
|
|
|
# The project `database` network is internal, and Docker silently ignores published
|
|
|
|
|
# ports for containers attached only to internal networks. Postgres therefore also
|
|
|
|
|
# joins this host bridge, so 127.0.0.1:5434 really listens for `cargo test`.
|
2026-09-05 09:41:44 +00:00
|
|
|
services:
|
|
|
|
|
postgres:
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:5434:5432"
|
2026-09-07 08:27:33 +00:00
|
|
|
networks:
|
|
|
|
|
- database
|
|
|
|
|
- dev_host
|
|
|
|
|
networks:
|
|
|
|
|
dev_host:
|
|
|
|
|
name: lazyboy_dev_host
|