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
1.[Set up Docker](https://docs.docker.com/get-started/) on your preferred platform. On Windows, it is highly recommended to use the [WSL 2 *(Windows Subsystem for Linux)*](https://docs.docker.com/desktop/windows/wsl/) backend.
@@ -123,7 +136,14 @@ docker compose down
123
136
124
137
to terminate the containers.
125
138
126
-
### Clean and Rebuild DB from latest image
139
+
### Accessing PostgreSQL Port
140
+
141
+
The port is exposed but not automatically mapped to `5432` to avoid potential conflicts with the host. To get the mapped port, run the command*(from the project `/docker` directory)*:
142
+
```sh
143
+
docker compose port db 5432
144
+
```
145
+
146
+
## Clean and Rebuild DB from latest image
127
147
128
148
To delete the active DB container, its volume and get the latest image / DB dump, simply run the following command:
129
149
@@ -141,7 +161,7 @@ docker compose pull db
141
161
docker compose build --no-cache db
142
162
```
143
163
144
-
### Clean all
164
+
## Clean all
145
165
146
166
To delete all containers for this project, its associated images and purge any remaining dangling images, simply run the following command:
147
167
@@ -158,7 +178,7 @@ docker compose down -v --rmi all
158
178
docker image prune
159
179
```
160
180
161
-
### Updating an older environment
181
+
## Updating an older environment
162
182
163
183
If you already have a clone, such as from a previous codesprint, and are updating that clone, before starting the datatracker from the updated image:
164
184
1. `rm ietf/settings_local.py`*(The startup script will put a new one, appropriate to the current release, in place)*
@@ -173,13 +193,6 @@ If the dev environment fails to start, even after running the [Clean all](#clean
173
193
docker system prune -a --volumes
174
194
```
175
195
176
-
### Accessing PostgreSQL Port
177
-
178
-
The port is exposed but not automatically mapped to `5432` to avoid potential conflicts with the host. To get the mapped port, run the command*(from the project `/docker` directory)*:
0 commit comments