Commit graph

116 commits

Author SHA1 Message Date
Peter Dave Hello
105b7dfc1c
Simplify and unify apk usage in Dockerfiles (#3407)
Replace `apk update` and `--update` flags with `--no-cache` across
Dockerfiles to improve consistency and eliminate unnecessary cache files.

This change reduces image size and ensures up-to-date package indices
without leaving temporary data. It also aligns with best practices
recommended for Alpine-based Docker images.
2025-04-30 02:55:34 +04:00
Abhishek K
7b6e544cdc
Revert "add stun to server stack (#3312)"
This reverts commit 39006debba.
2025-02-06 13:25:31 +04:00
Abhishek K
39006debba
add stun to server stack (#3312) 2025-02-04 09:01:36 +04:00
Yabin Ma
5f21c8bb1d
NET-1778: scale test code changes (#3203)
* comment ACL call and add debug message

* add cache for network nodes

* fix load node to network cache issue

* add peerUpdate call 1 min limit

* add debug log for scale test

* release maps

* avoid default policy for node

* 1 min limit for peerUpdate trigger

* mq options

* Revert "mq options"

This reverts commit 10b93d0118.

* set peerUpdate run in sequence

* update for emqx 5.8.2

* remove batch peer update

* change the sleep to 10 millisec to avoid timeout

* add compress and change encrypt for peerUpdate message

* add mem profiling and automaxprocs

* add failover ctx mutex

* ignore request to failover peer

* remove code without called

* remove debug logs

* update emqx to v5.8.2

* change broker keepalive

* add OLD_ACL_SUPPORT setting

* add host version check for message encrypt

* remove debug message

* remove peerUpdate call control

---------

Co-authored-by: abhishek9686 <abhi281342@gmail.com>
2024-12-10 10:15:31 +04:00
Sayan Mallick
3d7569b22b
Updated to go1.23 (#3096)
* Updated to go1.23

* Updated the go-version-file to have qoutes

* Updated the gravitl/go-builder to 1.23

* versioned tag in Dockerfile

* update go-builder workflow
2024-09-09 10:42:00 +04:00
Max Ma
db4cf1d1fd
NET-1534:upgrade Caddy to v2.8.4 (#3097)
* upgrade Caddy to v2.8.4

* add BATCH_PEER_UPDATE in netmaker.env with default values

* add comment for emqx for caddy upgrade change
2024-09-06 18:48:24 +04:00
Sayan Mallick
7786c106f7
Updated Dockerfile-go-builder to golang:1.20.13-alpine3.19 (#3017)
Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-07-25 10:20:43 +05:30
Abhishek K
3b739ed22a
Update Dockerfile-go-builder 2024-01-03 16:36:39 +05:30
Abhishek K
44ee28d4b5
Update Dockerfile-go-builder 2024-01-03 12:18:53 +05:30
Abhishek K
98c01c4325
NET-814: Deprecating TURN (#2723)
* deprecate turn

* process signals through mq
2023-12-13 22:46:57 +04:00
Matthew R Kasun
35673d6aba
let caddy do certificate management (#2611)
* let caddy do certificate management

* rm certs dir
2023-10-06 10:13:49 +04:00
Gabriel de Souza Seibel
1a1ba1ccf4
[NET-546] Move ee code to ee package, unify ee status and terminology (#2538)
* Move ee code to ee package and unify ee status to IsPro

* Consolidate naming for paid/professional/enterprise version as "pro". Notes:

- Changes image tags
- Changes build tags
- Changes package names
- Doesn't change links to docs that mention "ee"
- Doesn't change parameters sent to PostHog that mention "ee"

* Revert docker image tag being -pro, back to -ee

* Revert go build tag being pro, back to ee

* Add build tags for some ee content

* [2] Revert go build tag being pro, back to ee

* Fix test workflow

* Add a json tag to be backwards compatible with frontend "IsEE" check

* Add a json tag for the serverconfig struct for IsEE

* Ammend json tag to Is_EE

* fix ee tags

---------

Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-09-01 07:42:05 +05:30
afeiszli
b9a18cf73d remove stun 2023-06-13 15:53:24 -04:00
Tobias Cudnik
3ad47f17ec
NET-147 full config for nm-quick.sh (#2291)
* - moved all vars to config
- compose override
- use the config in compose, caddy
- aligned local / remote setup
- proper docker cleanup
- support for a relative installation path

* - config handling
- error handling / env cleanups
- reduced compose files
- misc

* fixed debugs

* fixed UI_IMAGE_TAG / IMAGE_TAG
2023-05-16 07:00:16 -04:00
Tobias Cudnik
f855ca4016 - fixed cert mounting
- fixed caddy restart in nm-certs.sh
- aligned all configs
2023-05-10 17:27:53 +02:00
Tobias Cudnik
7fa8ca2587 - support EE
- config namespaces
- write config after confirm
- minor fixes
2023-05-08 14:57:19 +02:00
Tobias Cudnik
10ec96a237 nm-certs.sh
- support EE and new domains
- minor fixes
2023-05-08 10:50:30 +02:00
Tobias Cudnik
a97e27cd6c Merge branch 'develop' into NET-39/nm-quick-refactor
# Conflicts:
#	docker/Caddyfile
#	scripts/nm-quick.sh
2023-05-08 09:29:39 +02:00
Tobias Cudnik
c772ea03ba - request and mount certs
- handle caddy challenge
- docker fixes
- pull nm-certs.sh
2023-05-05 17:17:39 +02:00
afeiszli
9162b33208 updating compose files and install/upgrade scripts 2023-05-03 17:15:21 -04:00
Alex Feiszli
30295cf7d1
Merge pull request #2034 from gravitl/dependabot/docker/develop/alpine-3.17.2
Bump alpine from 3.16.2 to 3.17.2
2023-05-02 17:13:29 -04:00
Abhishek Kondur
cb4631bc17 use host.docker.internal for turn services 2023-04-26 17:28:30 +04:00
Abhishek Kondur
8974ced2ea add host gateway to caddy extra hosts 2023-04-26 15:44:08 +04:00
Abhishek Kondur
09a5b0ff62 use public ip func from netmaker 2023-04-26 14:25:56 +04:00
Abhishek Kondur
5e8e56b56e merge conflicts resolved 2023-04-03 22:43:33 +04:00
dcarns
1d3e3ad181
Merge pull request #2153 from gravitl/release_v0.18.5
Release v0.18.5
2023-03-30 12:00:23 -06:00
Alex Feiszli
5c61644aa8
Update Caddyfile 2023-03-27 17:18:55 -04:00
Abhishek Kondur
cafdfa70c1 turn server poc 2023-03-22 11:00:03 +04:00
Anish Mukherjee
5e056dd7ec update docker compose 2023-02-22 20:37:39 +05:30
Anish Mukherjee
0005554dde update caddyfile 2023-02-22 20:37:08 +05:30
dcarns
cf89264811
Merge pull request #2056 from gravitl/master
master -> develop hotfixes update
2023-02-22 08:55:18 -05:00
Matthew R Kasun
f74f0f4838 update go-builder to use alpine3.17 based image 2023-02-15 16:25:26 -05:00
afeiszli
1b3c045906 modifying Caddyfile to default to ZeroSSL 2023-02-14 16:52:52 -05:00
Abhishek Kondur
451d490800 mq password config fix 2023-02-07 20:34:38 +04:00
Abhishek Kondur
435ce0eef1 new line 2023-02-07 17:09:54 +04:00
Abhishek Kondur
f19e3c31d0 use wait script to encrypt mq password 2023-02-07 17:01:57 +04:00
Abhishek Kondur
6a297a819e encrypt mq password using mosquitto 2023-01-20 18:49:01 +05:30
Abhishek Kondur
fffcf6ba5d remove wait.sh,add standard username,password mq auth 2023-01-20 09:49:43 +05:30
Matthew R. Kasun
8bfe255eab Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
dcarns
0c719eaa05
Merge pull request #1850 from gravitl/bugfix_caddy_certs
Use ZeroSSL as default certificate provider for caddy
2022-12-22 13:38:05 -05:00
Anish Mukherjee
8595c6e51b use zerossl for default tls 2022-12-22 17:41:49 +05:30
Matthew R Kasun
273116d55d
Merge branch 'master' into release_v0.17.0 2022-12-06 10:31:24 -05:00
dcarns
5cdc95123b
Merge pull request #1786 from gravitl/workflow_updates
rm arch from dockerfile
2022-12-06 10:15:53 -05:00
Abhishek Kondur
80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Matthew R. Kasun
1e76131672 rm arch from dockerfile 2022-12-02 14:33:14 -05:00
Matthew R Kasun
011257eef7
Update Dockerfile-go-builder 2022-12-02 11:26:37 -05:00
afeiszli
9b6d9c36f8 allow anon --> false 2022-11-29 11:31:19 -05:00
afeiszli
4ea5dc3440 adding EE 2022-11-28 13:42:26 -05:00
afeiszli
58130c59f1 updating compose, installers 2022-11-28 12:16:50 -05:00
Matthew R. Kasun
e97566f069 update to go 1.19
docker files need to be updated as go-builder is built on
golang:1.19-alpine3.16 so base image for netmaker/netclient
needs to be updated to apline3.16 as well
2022-11-10 16:06:03 -05:00