Removed samples for Docker Labs repo because the repo is no longer actively maintained.
Removed loosely connected "Library references" section.
Removed samples contained in the documentation from the list in index and from the TOC.
Fixed typo in description frontmatter
Updated TOC
Add Awesome Compose link and a few samples
Add Docker Samples link and a few samples
The "-settings" suffix in the URL duplicated the "/settings/" directory
in the URL, which made it redundant.
Using "/mac/", "/windows/" and "/linux/" keeps the URLs shorter, more
memorable, and more consistent with other locations, making it easier
to "guess" the URL when navigating using the browser's location bar.
No redirects were added, because the "-settings" pages have not yet
been published.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
FIX Error: Database is uninitialized and superuser password is not specified.
Env vars needs to be defined in both the "db" and "web" containers
In "db", so it can create the default user from it
In "web", so it can be used in settings.py to connect django to the postgres container
* [FIX] update documentation
- add `PYTHONDONTWRITEBYTECODE` environment variable
- rename pip package `psycopg2-binary` to `psycopg2`
- add db environment variables in docker-compose for a better usage
- use `os.environment` in `setting.py` to get environment variables
* [fix] update documentation
- Add missing code-hints (console, yaml)
- Consistently add an empty line after code-blocks
- Combine some examples where the output and the command were
put in separate blocks. With the "console" code-hint, this
is no longer nescessary.
- fix indentation in cloud/ecs-integration.md, which caused the
numbered-list to be interrupted.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- The /samples/wordpress/ location collided with an old redirect
to the official images, so removed the redirect
- Removed the sshd example from the table and TOC, as the example
was removed, and now pointing to an alternative examples. The
page is kept for people that may have bookmarked it, but no
need to include it in the navigation.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.
This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This table now only provided a list of names with links to each
official image that we previously included in our docs. This list
may be outdated, and without a description present, did not add
value over the list that can be found on Docker Hub.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This should not make a difference for the rendered HTML, but makes the markdown
source slightly more readable.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Unifying all "examples" in this directory; some of these should still be
reviewed and/or removed in favor of examples from "awesome compose"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>