Skip to content

Commit 7232d1f

Browse files
authored
Lab5 updates (#44)
* lab5 edits * Lab5 updates
1 parent d6f61b0 commit 7232d1f

File tree

5 files changed

+252
-110
lines changed

5 files changed

+252
-110
lines changed

labs/lab5/docker-compose.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
1111
NGINX_AGENT_SERVER_GRPCPORT: '443'
1212
NGINX_AGENT_TLS_ENABLE: 'true'
13-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey From One Console
13+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
1414
NGINX_AGENT_INSTANCE_GROUP: $NAME-sync-group
1515
hostname: $NAME-plus1
1616
container_name: $NAME-plus1
@@ -32,7 +32,7 @@ services:
3232
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
3333
NGINX_AGENT_SERVER_GRPCPORT: '443'
3434
NGINX_AGENT_TLS_ENABLE: 'true'
35-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
35+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
3636
NGINX_AGENT_INSTANCE_GROUP: $NAME-sync-group
3737
hostname: $NAME-plus2
3838
container_name: $NAME-plus2
@@ -54,7 +54,7 @@ services:
5454
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
5555
NGINX_AGENT_SERVER_GRPCPORT: '443'
5656
NGINX_AGENT_TLS_ENABLE: 'true'
57-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
57+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
5858
NGINX_AGENT_INSTANCE_GROUP: $NAME-sync-group
5959
hostname: $NAME-plus3
6060
container_name: $NAME-plus3
@@ -71,35 +71,35 @@ services:
7171
- '9113' # Open for Prometheus Scraper page
7272
restart: always
7373
#
74-
# plus4: # Debian R33 NGINX Plus Web / Load Balancer
75-
# environment:
76-
# NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
77-
# NGINX_AGENT_SERVER_GRPCPORT: '443'
78-
# NGINX_AGENT_TLS_ENABLE: 'true'
79-
# NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
80-
# NGINX_LICENSE_JWT: $JWT
81-
# NGINX_AGENT_INSTANCE_GROUP: $NAME-sync-group
82-
# hostname: $NAME-plus4
83-
# container_name: $NAME-plus4
84-
# image: private-registry.nginx.com/nginx-plus/agent:debian # From Nginx Private Registry R33
85-
# volumes: # Sync these folders to container
86-
- ./nginx-plus/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
87-
- ./nginx-plus/etc/nginx/conf.d:/etc/nginx/conf.d
88-
- ./nginx-plus/etc/nginx/includes:/etc/nginx/includes
89-
- ./nginx-plus/usr/share/nginx/html:/usr/share/nginx/html
90-
# ports:
91-
# - '80' # Open for HTTP
92-
# - '443' # Open for HTTPS
93-
# - '9000' # Open for API / Dashboard page
94-
# - '9113' # Open for Prometheus Scraper page
95-
# restart: always
74+
# plus4: # Debian R33 NGINX Plus Web / Load Balancer
75+
# environment:
76+
# NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
77+
# NGINX_AGENT_SERVER_GRPCPORT: '443'
78+
# NGINX_AGENT_TLS_ENABLE: 'true'
79+
# NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
80+
# NGINX_LICENSE_JWT: $JWT
81+
# NGINX_AGENT_INSTANCE_GROUP: $NAME-sync-group
82+
# hostname: $NAME-plus4
83+
# container_name: $NAME-plus4
84+
# image: private-registry.nginx.com/nginx-plus/agent:debian # From Nginx Private Registry R33
85+
# volumes: # Sync these folders to container
86+
# - ./nginx-plus/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
87+
# - ./nginx-plus/etc/nginx/conf.d:/etc/nginx/conf.d
88+
# - ./nginx-plus/etc/nginx/includes:/etc/nginx/includes
89+
# - ./nginx-plus/usr/share/nginx/html:/usr/share/nginx/html
90+
# ports:
91+
# - '80' # Open for HTTP
92+
# - '443' # Open for HTTPS
93+
# - '9000' # Open for API / Dashboard page
94+
# - '9113' # Open for Prometheus Scraper page
95+
# restart: always
9696
#
9797
oss1: # Debian NGINX OSS Web / Load Balancer
9898
environment:
9999
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
100100
NGINX_AGENT_SERVER_GRPCPORT: '443'
101101
NGINX_AGENT_TLS_ENABLE: 'true'
102-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
102+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
103103
hostname: $NAME-oss1
104104
container_name: $NAME-oss1
105105
image: docker-registry.nginx.com/nginx/agent:mainline # From Docker Public Registry
@@ -121,7 +121,7 @@ services:
121121
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
122122
NGINX_AGENT_SERVER_GRPCPORT: '443'
123123
NGINX_AGENT_TLS_ENABLE: 'true'
124-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
124+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
125125
hostname: $NAME-oss2
126126
container_name: $NAME-oss2
127127
image: docker-registry.nginx.com/nginx/agent:alpine # From Docker Public Registry
@@ -143,7 +143,7 @@ services:
143143
NGINX_AGENT_SERVER_HOST: 'agent.connect.nginx.com'
144144
NGINX_AGENT_SERVER_GRPCPORT: '443'
145145
NGINX_AGENT_TLS_ENABLE: 'true'
146-
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Datakey Fron Nginx One Console
146+
NGINX_AGENT_SERVER_TOKEN: $TOKEN # Dataplane key From Nginx One Console
147147
hostname: $NAME-oss3
148148
container_name: $NAME-oss3
149149
image: docker-registry.nginx.com/nginx/agent:1.26-alpine # From Docker Public Registry
155 KB
Loading
106 KB
Loading

labs/lab5/media/lab5-csg-4nplus.png

162 KB
Loading

0 commit comments

Comments
 (0)