chore: rename docker-compose.yaml to compose.yaml (#19480)

Docker recommends using a `compose.yaml` file.
This commit is contained in:
Atif Ali
2025-08-23 11:32:14 +05:00
committed by GitHub
parent 3b6c85a3f9
commit 2b3ae549ca
4 changed files with 6 additions and 7 deletions
-1
View File
@@ -1,4 +1,3 @@
version: "3.9"
services:
coder:
# This MUST be stable for our documentation and
+1 -1
View File
@@ -178,7 +178,7 @@ regular Coder server.
#### Docker Compose
Change the provided
[`docker-compose.yml`](https://github.com/coder/coder/blob/main/docker-compose.yaml)
[`compose.yml`](https://github.com/coder/coder/blob/main/compose.yaml)
file to include a custom entrypoint:
```diff
+2 -2
View File
@@ -50,14 +50,14 @@ docker run --rm -it \
## Install Coder via `docker compose`
Coder's publishes a
[docker-compose example](https://github.com/coder/coder/blob/main/docker-compose.yaml)
[docker compose example](https://github.com/coder/coder/blob/main/compose.yaml)
which includes an PostgreSQL container and volume.
1. Make sure you have [Docker Compose](https://docs.docker.com/compose/install/)
installed.
1. Download the
[`docker-compose.yaml`](https://github.com/coder/coder/blob/main/docker-compose.yaml)
[`docker-compose.yaml`](https://github.com/coder/coder/blob/main/compose.yaml)
file.
1. Update `group_add:` in `docker-compose.yaml` with the `gid` of `docker`
+3 -3
View File
@@ -6,12 +6,12 @@ certificates, you'll need a domain name that resolves to your Caddy server.
## Getting started
### With docker-compose
### With `docker compose`
1. [Install Docker](https://docs.docker.com/engine/install/) and
[Docker Compose](https://docs.docker.com/compose/install/)
2. Create a `docker-compose.yaml` file and add the following:
2. Create a `compose.yaml` file and add the following:
```yaml
services:
@@ -212,7 +212,7 @@ Caddy modules.
- Docker:
[Build an custom Caddy image](https://github.com/docker-library/docs/tree/master/caddy#adding-custom-caddy-modules)
with the module for your DNS provider. Be sure to reference the new image
in the `docker-compose.yaml`.
in the `compose.yaml`.
- Standalone:
[Download a custom Caddy build](https://caddyserver.com/download) with the