mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
# Summary Rename docker compose file to `compose.yaml`. Update docker compose command. ## Description According to [official manuals](https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file), > The default path for a Compose file is `compose.yaml` (preferred) or `compose.yml` that is placed in the working directory. Compose also supports `docker-compose.yaml` and `docker-compose.yml` for backwards compatibility of earlier versions. If both files exist, Compose prefers the canonical `compose.yaml`. ### Adding or Updating Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md x-ref: [The Compose file](https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file) x-ref: [docker-compose vs docker compose](https://docs.docker.com/compose/releases/migrate/#docker-compose-vs-docker-compose) Co-authored-by: JJ Kasper <[email protected]>
8 lines
152 B
YAML
8 lines
152 B
YAML
services:
|
|
redis-stack:
|
|
image: redis/redis-stack:latest
|
|
container_name: cache-handler-redis
|
|
ports:
|
|
- "6379:6379"
|
|
- "8001:8001"
|