mirror of https://github.com/docker/docs.git
changing from https to http (#19053)
* changing from https to http Changing from https to http, as normally a certificate wont exist. * Changing one more, https to http * Changing one more, https to http * Changing one more, https to http
This commit is contained in:
parent
48b3eb2672
commit
aee0cc5226
|
@ -72,7 +72,7 @@ $ docker compose up -d
|
||||||
|
|
||||||
## Step 4: Develop the application
|
## Step 4: Develop the application
|
||||||
|
|
||||||
Now, you can take advantage of the container’s environment while you develop the application on your local system. Any changes you make to the application on your local system are reflected in the container. In your local directory, open `app/views/todos.ejs` in an code or text editor, update the `Enter your task` string, and save the file. Visit or refresh [localhost:3001](https://localhost:3001) to view the changes.
|
Now, you can take advantage of the container’s environment while you develop the application on your local system. Any changes you make to the application on your local system are reflected in the container. In your local directory, open `app/views/todos.ejs` in an code or text editor, update the `Enter your task` string, and save the file. Visit or refresh [localhost:3001](http://localhost:3001) to view the changes.
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
|
@ -88,4 +88,4 @@ Related information:
|
||||||
|
|
||||||
Continue to the next walkthrough to learn how you can containerize your own application.
|
Continue to the next walkthrough to learn how you can containerize your own application.
|
||||||
|
|
||||||
{{< button url="./containerize-your-app.md" text="Containerize your app" >}}
|
{{< button url="./containerize-your-app.md" text="Containerize your app" >}}
|
||||||
|
|
|
@ -61,9 +61,9 @@ In the **Containers** tab of Docker Desktop, you should now have an application
|
||||||
To view the frontend:
|
To view the frontend:
|
||||||
|
|
||||||
1. In Docker Desktop, expand the application stack in **Containers**.
|
1. In Docker Desktop, expand the application stack in **Containers**.
|
||||||
2. Select the link to port **3000** in the **Port(s)** column or open [https://localhost:3000](https://localhost:3000).
|
2. Select the link to port **3000** in the **Port(s)** column or open [http://localhost:3000](http://localhost:3000).
|
||||||
|
|
||||||
Add some todo tasks in the frontend, and then open [https://localhost:3000](https://localhost:3000) in a new browser tab. Notice that the tasks are still visible.
|
Add some todo tasks in the frontend, and then open [http://localhost:3000](http://localhost:3000) in a new browser tab. Notice that the tasks are still visible.
|
||||||
|
|
||||||
## Step 5: Develop in your containers
|
## Step 5: Develop in your containers
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ To run Compose Watch and see the real-time changes:
|
||||||
```
|
```
|
||||||
2. Open `app/views/todos.ejs` in a text or code editor, then change the text on line 18.
|
2. Open `app/views/todos.ejs` in a text or code editor, then change the text on line 18.
|
||||||
3. Save the changes in `app/views/todos.ejs`.
|
3. Save the changes in `app/views/todos.ejs`.
|
||||||
4. View your application at [https://localhost:3000](https://localhost:3000) to see the changes in real-time.
|
4. View your application at [http://localhost:3000](http://localhost:3000) to see the changes in real-time.
|
||||||
|
|
||||||
## Step 6: Delete everything and start over
|
## Step 6: Delete everything and start over
|
||||||
|
|
||||||
|
@ -113,4 +113,4 @@ Related information:
|
||||||
|
|
||||||
Continue to the next walkthrough to learn how to persist data even after deleting the application stack.
|
Continue to the next walkthrough to learn how to persist data even after deleting the application stack.
|
||||||
|
|
||||||
{{< button url="./persist-data.md" text="Persist container data" >}}
|
{{< button url="./persist-data.md" text="Persist container data" >}}
|
||||||
|
|
|
@ -80,7 +80,7 @@ In the **Containers** tab of Docker Desktop, you should now have an application
|
||||||
To view the frontend and add todos:
|
To view the frontend and add todos:
|
||||||
|
|
||||||
1. In Docker Desktop, expand the application stack in **Containers**.
|
1. In Docker Desktop, expand the application stack in **Containers**.
|
||||||
2. Select the link to port **3000** in the **Port(s)** column or open [https://localhost:3000](https://localhost:3000).
|
2. Select the link to port **3000** in the **Port(s)** column or open [http://localhost:3000](http://localhost:3000).
|
||||||
3. Add some todo tasks in the frontend.
|
3. Add some todo tasks in the frontend.
|
||||||
|
|
||||||
## Step 5: Delete the application stack and run new containers
|
## Step 5: Delete the application stack and run new containers
|
||||||
|
@ -112,4 +112,4 @@ Related information:
|
||||||
|
|
||||||
Continue to the next walkthrough to learn how you can access a local directory from a container.
|
Continue to the next walkthrough to learn how you can access a local directory from a container.
|
||||||
|
|
||||||
{{< button url="./access-local-folder.md" text="Access a local folder" >}}
|
{{< button url="./access-local-folder.md" text="Access a local folder" >}}
|
||||||
|
|
Loading…
Reference in New Issue