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
@@ -61,14 +56,22 @@ Edit your `hosts` file (`/etc/hosts`):
61
56
62
57
#### Start containers
63
58
64
-
1. Ensure the `users-management-api` Docker image has been built, run `mvn package` in the `users-management-api` directory, if needed
59
+
1. Build the `users-management-api` Docker image (in the `users-management-api` directory):
60
+
```bash
61
+
./mvnw clean package
62
+
```
65
63
66
-
2.
64
+
Set the `APP_USER_CREATION_IP_CHECK_ENABLED` environment variable to `false` to disable IP check on user creation (`docker-compose.yml`)
65
+
66
+
2. Build the `users-management-ui` Docker image (in the `users-management-ui` directory):
67
67
```bash
68
-
docker-compose up -d
68
+
npm install && npm run build-prod && npm run docker:build
69
69
```
70
70
71
-
3. Set the `APP_USER_CREATION_IP_CHECK_ENABLED` environment variable to `false` to disable IP check on user creation
71
+
3. Run
72
+
```bash
73
+
docker-compose up -d
74
+
```
72
75
73
76
This `docker-compose.yml` file starts 5 containers:
74
77
- Traefik proxy
@@ -77,9 +80,9 @@ This `docker-compose.yml` file starts 5 containers:
77
80
- RabbitMQ broker
78
81
- UI
79
82
80
-
- Access the UI at `http://localhost`
83
+
4. Access the UI at `http://localhost`
81
84
82
-
- Access the API documentation at `http://api.localhost/swagger-ui.html`
85
+
5. Access the API documentation at `http://api.localhost/swagger-ui.html`
83
86
84
87
You can access the RabbitMQ dashboard at `http://broker.localhost`
85
88
@@ -142,7 +145,7 @@ As there is only one entity involved in this small application, there is no need
142
145
143
146
2. Build Angular application:
144
147
```bash
145
-
npm install &&start build-prod
148
+
npm install &&npm run build-prod
146
149
```
147
150
148
151
3. Don't forget to set the `APP_USER_CREATION_IP_CHECK_ENABLED` environment variable to `false` if you want to disable IP check on user creation (`docker-compose.yml`)
0 commit comments