10 Commits

Author SHA1 Message Date
dependabot[bot]
b57e2553c0 Bump json5 from 2.2.1 to 2.2.3 in /app
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 16:52:26 +00:00
Michael Irwin
1f24d456e0 Merge pull request #308 from umutesen/patch-1
Update index.md
2023-01-06 14:34:35 -05:00
Michael Irwin
d9f0c9ac45 Merge pull request #338 from docker/clarify-compose-file-location 2022-12-21 07:59:03 -05:00
Michael Irwin
eee88b403c Clarify where the compose file should be located
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #102
2022-12-19 17:25:01 -05:00
Michael Irwin
25f962b5e1 Merge pull request #335 from docker/clarify-removal-of-containers
Clarify removal of containers shouldn't remove tutorial
2022-12-14 11:07:03 -05:00
Michael Irwin
0d954877e5 Merge pull request #334 from docker/exit-netshoot-container
Add instruction to exit out of the netshoot container when done
2022-12-14 11:06:46 -05:00
Michael Irwin
3a9b88700e Merge pull request #333 from docker/repo-cleanup
Remove unused Jenkinsfile and yarn.lock files
2022-12-14 11:06:31 -05:00
Michael Irwin
d7a15dd12a Clarify removal of containers shouldn't remove tutorial
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #28
2022-12-14 10:45:23 -05:00
Michael Irwin
d3334672ce Add instruction to exit out of the netshoot container when done
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

Resolves #254
2022-12-14 10:20:01 -05:00
Umut Esen
302bbda11a Update index.md
Fix index.js path to avoid error thrown at startup
2022-10-30 20:53:20 +00:00
5 changed files with 8 additions and 6 deletions

View File

@@ -2162,9 +2162,9 @@ json-parse-even-better-errors@^2.3.0:
integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==
json5@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c"
integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==
version "2.2.3"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
kleur@^3.0.3:
version "3.0.3"

View File

@@ -151,6 +151,8 @@ which ships with a _lot_ of tools that are useful for troubleshooting or debuggi
What this means is... our app only simply needs to connect to a host named `mysql` and it'll talk to the
database! It doesn't get much simpler than that!
When you're done, run `exit` to close out of the container.
## Running our App with MySQL

View File

@@ -41,7 +41,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
CMD ["node", "./src/index.js"]
```
Please check that the file `Dockerfile` has no file extension like `.txt`. Some editors may append this file extension automatically and this would result in an error in the next step.

View File

@@ -34,7 +34,7 @@ To run our container to support a development workflow, we will do the following
So, let's do it!
1. Make sure you don't have any previous `getting-started` containers running.
1. Make sure you don't have any of your own `getting-started` containers running (only the tutorial itself should be running).
1. Also make sure you are in app source code directory, i.e. `/path/to/getting-started/app`. If you aren't, you can `cd` into it, .e.g:

View File

@@ -19,7 +19,7 @@ another system, you can install Docker Compose using [the instructions here](htt
## Creating our Compose File
1. At the root of the app project, create a file named `docker-compose.yml`.
1. Inside of the app folder, create a file named `docker-compose.yml` (next to the `Dockerfile` and `package.json` files).
1. In the compose file, we'll start off by defining a list of services (or containers) we want to run as part of our application.