Tried your build but it seems postgress can't connect. It keeps looping for minutes.
root@OpenWrt:/mnt/ssd/docker/netbird# docker exec -it netbird-postgres-1 pg_isready
/run/postgresql:5432 - accepting connections
root@OpenWrt:/mnt/ssd/docker/netbird# docker-compose --file netbird.yaml up
[+] up 5/5
✔ Network netbird_frontend Created 0.2s
✔ Network netbird_backend Created 0.2s
✔ Container netbird-dashboard-1 Created 0.0s
✔ Container netbird-postgres-1 Created 0.0s
✔ Container netbird-server-1 Created 0.0s
Attaching to dashboard-1, postgres-1, server-1
Container netbird-postgres-1 Waiting
postgres-1 | postgres | {"time":"2026-07-18T11:16:02.000Z","type":"INF","msg":"loading existing database"}
postgres-1 | postgres | {"time":"2026-07-18T11:16:02.000Z","type":"INF","msg":"starting postgres v18"}
postgres-1 | backup | {"time":"2026-07-18T13:16:02.408Z","type":"INF","msg":"setting schedule: 0 3 * * *"}
postgres-1 | backup | {"time":"2026-07-18T13:16:02.410Z","type":"INF","msg":"disable retention"}
dashboard-1 | {"time":"2026-07-18T13:16:02.532Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
dashboard-1 exited with code 1 (restarting)
dashboard-1 | {"time":"2026-07-18T13:16:04.057Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
dashboard-1 exited with code 1 (restarting)
dashboard-1 | {"time":"2026-07-18T13:16:05.683Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
dashboard-1 exited with code 1 (restarting)
dashboard-1 | {"time":"2026-07-18T13:16:07.194Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
Container netbird-postgres-1 Healthy
dashboard-1 exited with code 1 (restarting)
server-1 | {"time":"2026-07-18T13:16:09.109Z","type":"INF","msg":"starting netbird v0.74.7"}
dashboard-1 | {"time":"2026-07-18T13:16:09.213Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
dashboard-1 exited with code 1 (restarting)
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:166: Starting combined NetBird server
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:604: === Configuration ===
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:613: --- Server ---
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:614: Listen address: :8080
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:615: Exposed address: https://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:616: Healthcheck address: :9000
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:617: Metrics port: 9090
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:618: Log level: info
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:619: Data dir: /netbird/var/
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:627: TLS: disabled (using reverse proxy)
server-1 | 2026-07-18T13:16:11.111+02:00 INFO combined/cmd/root.go:632: --- Components ---
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:633: Management: true (log level: info)
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:634: Signal: true (log level: info)
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:635: Relay: true (log level: info)
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:642: --- Relay ---
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:643: Exposed address: rels://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:644: Auth secret: bJFE......
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:646: STUN ports: [3478] (log level: info)
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:656: --- Management ---
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:657: Data dir: /netbird/var/
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:658: DNS domain: netbird.domain.tdl
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:659: Store engine: postgres
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:661: Store DSN: host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:664: Auth (embedded IdP):
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:665: Issuer: https://netbird.domain.tdl/oauth2
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:666: Dashboard redirect URIs: [https://netbird.domain.tdl/#callback https://netbird.domain.tdl/#silent-callback]
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:667: CLI redirect URIs: [http://localhost:53000/]
server-1 | 2026-07-18T13:16:11.112+02:00 INFO combined/cmd/root.go:669: Client settings:
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:670: Signal URI: https://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:672: STUN: stun:netbird.domain.tdl:3478
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:675: Relay addresses: [rels://netbird.domain.tdl:443]
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:676: Relay credentials TTL: 12h
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:609: === End Configuration ===
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:682: === Environment Variables ===
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:694: NB_STORE_ENGINE_POSTGRES_DSN=host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:694: NB_ACTIVITY_EVENT_STORE_ENGINE=postgres
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:694: NB_ACTIVITY_EVENT_POSTGRES_DSN=host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:11.113+02:00 INFO combined/cmd/root.go:701: === End Environment Variables ===
server-1 | 2026-07-18T13:16:11.114+02:00 INFO combined/cmd/root.go:453: STUN server listening on UDP port 3478
server-1 | 2026-07-18T13:16:11.115+02:00 INFO combined/cmd/root.go:243: Relay server created
server-1 | 2026-07-18T13:16:11.115+02:00 INFO [component: stun] stun/server.go:52: STUN server log level set to: info
server-1 | 2026-07-18T13:16:11.115+02:00 INFO combined/cmd/config.go:774: running with the embedded IdP: https://netbird.domain.tdl/oauth2
server-1 | 2026-07-18T13:16:11.115+02:00 INFO combined/cmd/config.go:777: Relay addresses: [rels://netbird.domain.tdl:443]
server-1 | 2026-07-18T13:16:11.117+02:00 INFO combined/cmd/root.go:294: Management server created
server-1 | 2026-07-18T13:16:11.117+02:00 INFO combined/cmd/root.go:310: Signal server created
server-1 | 2026-07-18T13:16:11.118+02:00 INFO management/server/store/store.go:498: using Postgres store engine
server-1 | 2026-07-18T13:16:11.128+02:00 FATL management/internals/server/boot.go:87: failed to create store: failed to connect to `user=postgres database=postgres`: 172.19.0.3:5432 (postgres): dial error: dial tcp 172.19.0.3:5432: connect: connection refused
dashboard-1 | {"time":"2026-07-18T13:16:11.955Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
server-1 exited with code 1 (restarting)
dashboard-1 exited with code 1 (restarting)
server-1 | {"time":"2026-07-18T13:16:13.344Z","type":"INF","msg":"starting netbird v0.74.7"}
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:166: Starting combined NetBird server
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:604: === Configuration ===
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:613: --- Server ---
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:614: Listen address: :8080
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:615: Exposed address: https://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:15.321+02:00 INFO combined/cmd/root.go:616: Healthcheck address: :9000
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:617: Metrics port: 9090
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:618: Log level: info
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:619: Data dir: /netbird/var/
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:627: TLS: disabled (using reverse proxy)
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:632: --- Components ---
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:633: Management: true (log level: info)
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:634: Signal: true (log level: info)
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:635: Relay: true (log level: info)
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:642: --- Relay ---
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:643: Exposed address: rels://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:644: Auth secret: bJFE......
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:646: STUN ports: [3478] (log level: info)
server-1 | 2026-07-18T13:16:15.322+02:00 INFO combined/cmd/root.go:656: --- Management ---
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:657: Data dir: /netbird/var/
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:658: DNS domain: netbird.domain.tdl
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:659: Store engine: postgres
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:661: Store DSN: host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:664: Auth (embedded IdP):
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:665: Issuer: https://netbird.domain.tdl/oauth2
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:666: Dashboard redirect URIs: [https://netbird.domain.tdl/#callback https://netbird.domain.tdl/#silent-callback]
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:667: CLI redirect URIs: [http://localhost:53000/]
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:669: Client settings:
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:670: Signal URI: https://netbird.domain.tdl:443
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:672: STUN: stun:netbird.domain.tdl:3478
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:675: Relay addresses: [rels://netbird.domain.tdl:443]
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:676: Relay credentials TTL: 12h
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:609: === End Configuration ===
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:682: === Environment Variables ===
server-1 | 2026-07-18T13:16:15.323+02:00 INFO combined/cmd/root.go:694: NB_STORE_ENGINE_POSTGRES_DSN=host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:15.324+02:00 INFO combined/cmd/root.go:694: NB_ACTIVITY_EVENT_STORE_ENGINE=postgres
server-1 | 2026-07-18T13:16:15.324+02:00 INFO combined/cmd/root.go:694: NB_ACTIVITY_EVENT_POSTGRES_DSN=host=postgres user=postgres password=**** dbname=postgres port=5432 sslmode=disable
server-1 | 2026-07-18T13:16:15.324+02:00 INFO combined/cmd/root.go:701: === End Environment Variables ===
server-1 | 2026-07-18T13:16:15.325+02:00 INFO combined/cmd/root.go:453: STUN server listening on UDP port 3478
server-1 | 2026-07-18T13:16:15.326+02:00 INFO combined/cmd/root.go:243: Relay server created
server-1 | 2026-07-18T13:16:15.329+02:00 INFO [component: stun] stun/server.go:52: STUN server log level set to: info
server-1 | 2026-07-18T13:16:15.329+02:00 INFO combined/cmd/config.go:774: running with the embedded IdP: https://netbird.domain.tdl/oauth2
server-1 | 2026-07-18T13:16:15.329+02:00 INFO combined/cmd/config.go:777: Relay addresses: [rels://netbird.domain.tdl:443]
server-1 | 2026-07-18T13:16:15.332+02:00 INFO combined/cmd/root.go:294: Management server created
server-1 | 2026-07-18T13:16:15.333+02:00 INFO combined/cmd/root.go:310: Signal server created
server-1 | 2026-07-18T13:16:15.334+02:00 INFO management/server/store/store.go:498: using Postgres store engine
server-1 | 2026-07-18T13:16:15.342+02:00 FATL management/internals/server/boot.go:87: failed to create store: failed to connect to `user=postgres database=postgres`: 172.19.0.3:5432 (postgres): dial error: dial tcp 172.19.0.3:5432: connect: connection refused
dashboard-1 | {"time":"2026-07-18T13:16:16.388Z","type":"ERR","msg":"could not setup file /nginx/var/OidcTrustedDomains.js.tmpl%!(EXTRA *fs.PathError=open /nginx/var/OidcTrustedDomains.js.tmpl: no such file or directory)"}
server-1 exited with code 1 (restarting)
dashboard-1 exited with code 1 (restarting)
The only thing i changed from docker compose.yaml was port 3000 to 3010 and 8080 to 8088 but that should NOT affect Postgres right?
Hi,
Tried your build but it seems postgress can't connect. It keeps looping for minutes.
But Postgres should be working?
Tag 0.74.4
running on OpenWRT on ARMv8
The only thing i changed from docker compose.yaml was port 3000 to 3010 and 8080 to 8088 but that should NOT affect Postgres right?