Owen
0add2ec668
Merge branch 'add-healthcheck' of github.com:woutervanelten/newt into woutervanelten-add-healthcheck
2025-06-30 08:49:58 -07:00
Wouter van Elten
071a51afbc
Update main.go
...
synced with dev
2025-06-30 13:09:11 +02:00
Wouter van Elten
9db3b78373
Update main.go
...
fixed some errors,
This file should be ok.
2025-06-30 13:03:06 +02:00
Wouter van Elten
700287163e
Update main.go
2025-06-30 12:50:33 +02:00
Wouter van Elten
e357e7befb
Update main.go
...
Added cli and env function
2025-06-30 12:45:42 +02:00
Wouter van Elten
a76e6c9637
added healthy check in main.go
...
added healthy check in main.go
extended the ping check that creates a /tmp/healthy file if ping successfull and removes that file if ping failes 3 times.
With this you can add the following to the newt docker compose to do the health check:
healthcheck:
test: ["CMD-SHELL", "test -f /tmp/healthy"]
interval: 30s
timeout: 10s
retries: 3
2025-06-25 19:43:27 +02:00
Wouter van Elten
678d82fa68
added healthy check in main.go
...
extended the ping check that creates a /tmp/healthy file if ping successfull and removes that file if ping failes 3 times.
With this you can add the following to the newt docker compose to do the health check:
healthcheck:
test: ["CMD-SHELL", "test -f /tmp/healthy"]
interval: 30s
timeout: 10s
retries: 3
2025-06-25 19:30:05 +02:00
Owen
a6849059b9
Merge branch 'JonnyBooker-docker-network-checking' into dev
2025-06-22 11:44:19 -04:00
Owen
5f14ff3a07
Resolve some basic comments
2025-06-22 11:38:43 -04:00
Owen
040f5375a6
Merge branch 'docker-network-checking' of github.com:JonnyBooker/newt into JonnyBooker-docker-network-checking
2025-06-22 11:34:30 -04:00
Owen
7f9b700ec3
Add mtu to readme
2025-06-17 10:23:29 -04:00
Jonny Booker
7c971d278c
Revert the newt version placeholder text
2025-06-16 19:38:10 +01:00
Owen Schwartz
f6bfa70c10
Merge pull request #66 from robtec/patch-1
...
Update README.md
2025-06-15 10:49:17 -04:00
Owen
7f8e3d9ef9
Tweak to call out when docker deployment
2025-06-15 10:45:18 -04:00
Rob
6d7e7e7a93
Update README.md
...
added docker socket mount example
2025-06-14 15:31:16 +01:00
Jonny Booker
48cb0bf5a7
Minor README update for consistentcy
2025-06-14 15:22:56 +01:00
Jonny Booker
58f7835072
Revise README docs
2025-06-14 15:22:14 +01:00
Jonny Booker
6d9160ab5e
Simplified based on PR feedback and support checking use of "bridge" network
2025-06-14 01:26:11 +01:00
Jonny Booker
5cb86f3e47
Update to readme with new configuration settings
2025-06-10 21:26:06 +01:00
Jonny Booker
e26552a5d7
Small refinement to how the docker enforcement setting is applied
2025-06-10 21:25:27 +01:00
Owen Schwartz
64aef4ff34
Merge pull request #64 from Lokowitz/update-dependabot
...
fix - dependabot
2025-06-10 09:36:59 -04:00
Owen Schwartz
ef2cc34f02
Merge pull request #63 from Lokowitz/add-test-action
...
Add test action
2025-06-10 09:36:42 -04:00
Jonny Booker
5476a69963
Log the container name and id
2025-06-10 13:05:41 +01:00
Marvin
2e6ab2ba41
Update test.yml
2025-06-10 14:00:04 +02:00
Jonny Booker
126ced6d57
Merge branch 'docker-network-checking' of https://github.com/JonnyBooker/newt into docker-network-checking
2025-06-10 12:58:40 +01:00
Jonny Booker
cbbd5b0c76
Add extra pre-condition check for enforcing docker network
2025-06-10 12:58:37 +01:00
Jonny Booker
e335bb8a1f
Rename added functions for docker client
2025-06-10 12:57:50 +01:00
Marvin
e053eff879
Update Makefile
2025-06-10 13:27:24 +02:00
Marvin
a2c22eff35
Update dependabot.yml
2025-06-10 13:24:14 +02:00
Marvin
52a8aabdb8
Update test.yml
2025-06-10 13:17:33 +02:00
Marvin
38b7f17e58
Update test.yml
2025-06-10 13:15:44 +02:00
Marvin
8941604f71
Update test.yml
2025-06-10 13:12:43 +02:00
Marvin
1820c8c019
Update test.yml
2025-06-10 13:10:48 +02:00
Marvin
1ecffab79a
Update test.yml
2025-06-10 13:08:22 +02:00
Marvin
4ce2a656b8
Create test.yml
2025-06-10 13:07:08 +02:00
Jonny Booker
d4b88c3985
Merge branch 'fosrl:main' into docker-network-checking
2025-06-10 08:43:04 +01:00
Jonny Booker
a52260b49d
Add an enforce network validation flag for docker to not break previous functionality
2025-06-09 23:06:29 +01:00
Jonny Booker
a4d4976103
Update to use docker network checking against newt networking
2025-06-09 22:54:10 +01:00
Owen Schwartz
acab633da6
Merge pull request #57 from fosrl/dependabot/go_modules/prod-minor-updates-cb91bdc677
...
Bump golang.org/x/net from 0.40.0 to 0.41.0 in the prod-minor-updates group
2025-06-09 09:57:41 -04:00
dependabot[bot]
036e255b47
Bump golang.org/x/net in the prod-minor-updates group
...
Bumps the prod-minor-updates group with 1 update: [golang.org/x/net](https://github.com/golang/net ).
Updates `golang.org/x/net` from 0.40.0 to 0.41.0
- [Commits](https://github.com/golang/net/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-minor-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-09 13:56:53 +00:00
Owen Schwartz
faffaad926
Merge pull request #58 from fosrl/dependabot/docker/patch-updates-23ac2ce0c4
...
Bump golang from 1.24.3-alpine to 1.24.4-alpine in the patch-updates group
2025-06-09 09:55:01 -04:00
dependabot[bot]
157bb98fd3
Bump golang in the patch-updates group
...
Bumps the patch-updates group with 1 update: golang.
Updates `golang` from 1.24.3-alpine to 1.24.4-alpine
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4-alpine
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-09 10:10:08 +00:00
Owen Schwartz
50b621f17c
Merge pull request #60 from firecat53/main
...
Update Nix flake for 1.2.1
2025-06-06 10:45:44 -04:00
Scott Hansen
35d82ea15c
Update flake.nix for 1.2.1
2025-06-06 07:36:48 -07:00
Scott Hansen
21f5aa906d
Merge remote-tracking branch 'upstream/main'
2025-06-06 07:34:47 -07:00
Owen Schwartz
4a70af44bb
Merge pull request #56 from fosrl/dev
...
Make Docker Socket Opt-In and Add Version Printout
1.2.1
2025-06-05 22:41:53 -04:00
Owen
5280c7ccda
Add newt version on startup
2025-06-05 22:40:39 -04:00
Owen
ef2f25ef98
Update readme
2025-06-05 22:36:42 -04:00
Owen
eb8a12f290
Make docker socket opt in
2025-06-05 22:34:17 -04:00
Scott Hansen
a937027838
Update flake.nix for 1.2.0
2025-06-05 14:16:06 -07:00