diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3f2241f..3715fe2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,9 @@ "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, + "features": { + "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {} + }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // This can be used to network with other containers or the host. diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index ea34e78..5e325f0 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -7,6 +7,7 @@ services: context: .. # Modify this container to install things that can't be installed as http://containers.dev/features dockerfile: .devcontainer/Dockerfile + container_name: app volumes: - ../..:/workspaces:cached @@ -31,6 +32,7 @@ services: xtdb: image: ghcr.io/xtdb/xtdb-standalone-ea:2024-09-02 + container_name: xtdb restart: unless-stopped volumes: - xtdb-data:/var/lib/xtdb