diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a9e70cb..24d8431 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,11 @@ { + "name": "lucas", "workspaceFolder": "/app", "dockerComposeFile": [ "${localWorkspaceFolder}/docker-compose.yml", "${localWorkspaceFolder}/docker-compose.devcontainer.yml" ], + "overrideCommand": true, "service": "driver", "customizations": { "vscode": { diff --git a/docker-compose.devcontainer.yml b/docker-compose.devcontainer.yml index a4ae35b..32cb306 100644 --- a/docker-compose.devcontainer.yml +++ b/docker-compose.devcontainer.yml @@ -6,4 +6,3 @@ services: target: base volumes: - "./:/app" - command: /bin/sh -c "while sleep 1000; do :; done" diff --git a/docker-compose.yml b/docker-compose.yml index 504f669..9b1d19f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: image: cassandra:4.1 environment: CASSANDRA_LISTEN_ADDRESS: cassandra + mem_limit: 2g healthcheck: test: ["CMD", "cqlsh"] timeout: 2m