Commit Graph

34 Commits

Author SHA1 Message Date
Tianon Gravi 15e3853d42 Convert all `stack.yml` to `compose.yaml`
Docker Swarm Mode has been in severely declining usage and maintenance for years now.  Meanwhile, Docker Compose has had quite a lot of changes (notably deprecating the `version:` field required by Swarm / forward compatibility).  As a result, it no longer makes a ton of sense for us to prefer/suggest Swarm usages.

This changes all references to be `compose.yaml` (the upstream-preferred canonical filename: 9a9cc5d9c3/cli/options.go (L384-L385)) directly, leaving "swarm compatibility" as an exercise for the minority of readers who might still need/want it.

Unfortunately, this also means we need to remove all the play-with-docker links (since it only supports stack deploy via URL arguments, not compose), but my experience with that service is that it hasn't been terribly performant for a while, so I don't think this is a huge loss.

(There were also a few trailing references to the long-since-defunct Docker Machine project which have also been cleaned up.)
2025-05-05 15:34:52 -07:00
Michael Zangl c543d87182
Clarify how to build and run
I used this in class. My students were missing the build command, because it is a bit hidden in the text. I suggest making it more obvious that the image needs to be built before running it.
2024-11-26 13:40:36 +01:00
John Moon 4a2997a2d0
nginx: Update command to generate host config file (#2411)
Currently, instructions to copy the default configuration from the
nginx container to the host uses three commands. This can be done more
efficiently with one command (assuming the presence of "cat" in the
container which should be a safe).

Update the instructions to use the single command.
2024-01-31 13:36:13 -08:00
Daisuke Kashiwagi 2e359a47de Improve explanation on how to customize nginx conf
When I first saw this document, I didn't understand the meaning of 'This can also be accomplished' and it confused me. 
So, I suggest an improvement.
2023-10-11 12:08:01 +09:00
Benjamin Roedell 332cb65cc8 Fix container path for cache dir
The code block contains the paths that should be mapped,
`/var/cache/nginx` and `/var/run` for readonly cases.
However, the description immediately above the code block
also listed two paths. The first, `/var/cache`, would require
additional dirs to already exist within the dir. For example,
the application will fail to start if the host didn't create
an `nginx` dir prior to starting the container.

This change updates the path in the description so it matches
the path mapped in the code block and no dirs need to exist
before starting the container.
2022-09-20 20:01:30 -04:00
Konstantin Pavlov 56c7411115 nginx: removed Amplify notices.
Service is in life-support mode since quite some time.
2021-12-28 12:27:50 +03:00
alessfg 7b0222f92a
Add link to the Docker NGINX unprivileged image to the NGINX docs 2021-05-11 18:40:46 +02:00
Tianon Gravi 97aa7a399f
Merge pull request #1735 from alexandresalome/nginx-add-quiet
nginx: add section "Entrypoint quiet logs"
2020-07-13 10:30:01 -07:00
Cláudio 7a89753309
Include a "new in" tag to templates section
The templates script that uses `envsubst` is not available in the current stable version (1.18).

Hope this information saves others some debugging time.
2020-06-23 11:49:29 +01:00
Alexandre Salomé 0b5bfe28fa nginx: add section "Entrypoint quiet logs" 2020-06-08 11:50:11 +02:00
Syunsuke Komma 7f2f4c3478 modify the usage 2019-06-28 09:25:40 +09:00
Syunsuke Komma 1af6dc6cd3 fix a bit 2019-06-28 09:25:40 +09:00
Syunsuke Komma e3cca7496d add usage of nginx-envsubst 2019-06-28 09:25:40 +09:00
Tianon Gravi 027ddb7deb Adjust formatting 2019-06-04 14:26:24 -07:00
Konstantin Pavlov 6e08960e34 nginx: Documented UID changes and how to run as an arbitrary user 2019-06-04 17:37:42 +03:00
Alessandro Fael Garcia 48ed32399d Add instructions to run nginx in read-only mode 2018-06-26 14:39:28 -07:00
leigh schrandt b3a3e6a522 Update nginx envsubst example to use exec 2018-06-08 18:02:41 -06:00
Tianon Gravi 25a5b70c1b Adjust a ton of image references (especially to use %%IMAGE%%) 2017-10-09 15:30:46 -07:00
Andy A 45775b58b3 A bit of clarification. 2017-06-07 20:04:27 +03:00
Andy A 06ea8a34a2 Added a section on monitoring nginx containers with Amplify. 2017-06-07 19:58:07 +03:00
Andy A 3b54326d7e Some essential grammar fixes. 2017-06-05 18:54:37 +03:00
Tianon Gravi 05c3cc6c69 Fix formatting 2017-04-06 11:28:35 -07:00
Etki b9cb1b7403 Added information about running nginx in debug mode
https://github.com/nginxinc/docker-nginx/issues/55
2017-04-06 11:27:23 -07:00
Dominik f9601a3845 Nginx: Preciser "-g daemon off;" -> fixes https://github.com/nginxinc/docker-nginx/issues/126 2016-12-15 17:41:26 +01:00
Dominik 5c38feba71 Nginx: complex config easier to read (I hope) 2016-12-15 17:39:35 +01:00
Tianon Gravi 3c26a0b754 Minor typo fix (#482)
Closes #482
2016-07-05 15:10:49 -07:00
Vidar Langseid af7fb12c2f Added documentation on how to use envsubst to generate nginx config 2016-01-15 13:26:45 +01:00
Tianon Gravi 481f43ec2f Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
Tianon Gravi a71fa247d9 FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
Joe Ferguson c920ff0075 Mostly tw=80, also a few dockerfile links from update.sh 2014-10-21 15:34:30 -07:00
Tianon Gravi 7d3134f982 Add LOGO magic to many contents and update.sh 2014-09-26 17:22:36 -06:00
Tianon Gravi c45d9dcf13 Fix a bunch of NGINX stuff to point to the right places :) 2014-09-26 14:35:37 -06:00
Tianon Gravi 7a0c5d0a2b Fix NGINX data path 2014-09-26 14:24:57 -06:00
Joe Ferguson 8e4d0e6283 move README-content.md to just content.md 2014-09-23 13:47:30 -06:00