You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Extract non-management improvements from #343
* Reduce logging in ConfigServer sample (output flooded by placeholder logs otherwise)
* Update SBA port number
Copy file name to clipboardexpand all lines: CommonTasks.md
+57-54
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,37 @@
2
2
3
3
This page contains information on basic tasks that are used throughout the Steeltoe Samples. Use this page to quickly get your local development environment up and running.
4
4
5
+
Containers images produced by the Steeltoe team (all images hosted at `steeltoe.azurecr.io`) are *For local development purposes only*. Images are generally very basic and formal support should not be expected. To see how the images are built and/or participate in improving them, visit [this repository](https://github.com/SteeltoeOSS/Dockerfiles).
6
+
7
+
Feel free to modify these commands as needed, knowing that commands provided in this document will result in:
8
+
9
+
* The latest available (tag-matching) image being used: `--pull=always`
10
+
* Servers that are automatically removed when the container is stopped: `--rm`
11
+
* An attached pseudo-TTY with STDIN kept open: `-it`[read more](https://docs.docker.com/reference/cli/docker/container/run/#tty)
12
+
* Published ports: `-p <hostPort>:<containerPort>`
13
+
* Named containers: `--name <name>`. If the command has Steeltoe-specific configuration and/or the image was built by the Steeltoe team, the name starts with 'steeltoe-'
14
+
5
15
## Spring Cloud Config Server
6
16
7
17
### Run SCCS with Docker
8
18
9
-
The Steeltoe team has built a docker image of a [basic Config server](https://github.com/SteeltoeOSS/Dockerfiles/tree/main/config-server) for an easy experience getting started
10
-
11
19
To start a config server backed by the Spring Cloud Samples repo:
12
20
13
-
```bash
14
-
docker run --rm -ti -p 8888:8888 --name steeltoe-config steeltoeoss/config-server
21
+
```shell
22
+
docker run --rm -it --pull=always -p 8888:8888 --name steeltoe-config steeltoe.azurecr.io/config-server
15
23
```
16
24
17
25
To start a config server backed by a folder on your local disk, start the docker image like this:
18
26
19
-
```bash
27
+
```shell
20
28
# Note: Ensure Docker is configured to share host drive/volume so the mount below will work correctly!
@@ -53,14 +61,10 @@ Use the [cf cli](https://github.com/cloudfoundry/cli) to create a Spring Cloud C
53
61
54
62
### Run Eureka with Docker
55
63
56
-
The Steeltoe team has built a docker image of a [basic Eureka server](https://github.com/SteeltoeOSS/Dockerfiles/tree/main/eureka-server) for an easy experience getting started:
57
-
58
-
```bash
59
-
docker run --rm -ti -p 8761:8761 --name steeltoe-eureka steeltoeoss/eureka-server
64
+
```shell
65
+
docker run --rm -it --pull=always -p 8761:8761 --name steeltoe-eureka steeltoe.azurecr.io/eureka-server
60
66
```
61
67
62
-
### Run Eureka with Java
63
-
64
68
### Provision Eureka on Cloud Foundry
65
69
66
70
Use the [cf cli](https://github.com/cloudfoundry/cli) to create a Service Registry service in a org/space.
@@ -69,72 +73,71 @@ Use the [cf cli](https://github.com/cloudfoundry/cli) to create a Service Regist
69
73
1. cf create-service p.service-registry standard myDiscoveryServiceInstanceName
70
74
1. Wait for service to be ready. (use `cf services` to check the status)
71
75
72
-
## RabbitMQ
73
-
74
-
### Run RabbitMQ Server with Docker
76
+
## Spring Boot Admin
75
77
76
-
This command starts a RabbitMQ server with the management plugin enabled with no credentials and default ports:
0 commit comments