Rename docker-compose.yml to compose.yaml

pull/79/head
Cynthia Kiser 2024-09-04 15:59:40 -07:00 zatwierdzone przez Cynthia Kiser
rodzic 10b77d4b65
commit 22d08b4155
6 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -1,11 +1,11 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/docker-existing-docker-compose
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
// If you want to run as a non-root user in the container, see .devcontainer/compose.yaml.
{
"name": "Existing Docker Compose (Extend)",
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
"../compose.yaml",
"compose.yaml"
],
"service": "web",
"workspaceFolder": "/code",

Wyświetl plik

@ -4,6 +4,7 @@
**/node_modules
**/Dockerfile
**/docker-compose.yml
**/compose.yaml
**/Procfile
**/Vagrantfile
**/.devcontainer

Wyświetl plik

@ -64,7 +64,7 @@ WARNINGS:
If you're running this on Linux you might get into some privilege issues that can be solved using this command (tested on Ubuntu):
```sh
CURRENT_UID=$(id -u):$(id -g) docker compose -f docker-compose.yml -f docker-compose.linux.yml up
CURRENT_UID=$(id -u):$(id -g) docker compose -f compose.yaml -f compose.linux.yaml up
```
Alternatively, if you're using VSCode and have the "Remote - Containers" extension, you can open the command palette and select "Remote Containers - Reopen in Container" to attach VSCode to the container. This allows for much deeper debugging.