Skip to content

Commit

Permalink
Move to starting docker-compose in the dev-container
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and DiamondJoseph committed Nov 13, 2024
1 parent feb276e commit 90c1ca1
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
11 changes: 7 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
// For format details, see https://containers.dev/implementors/json_reference/
{
"name": "Python 3 Developer Container",
"build": {
"dockerfile": "../Dockerfile",
"target": "developer"
},
"dockerComposeFile": [
"docker-compose.yml",
"docker-compose-infrastructure.yml"
],
"service": "blueapi",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"containerEnv": {
"OTEL_EXPORTER_OTLP_TRACES_PROTOCOL": "http/protobuf",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://127.0.0.1:4318",
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
blueapi:
command: /bin/sh -c "while sleep 1000; do :; done"
build:
target: developer
dockerfile: ../Dockerfile
volumes:
- ..:/workspace:cached
network_mode: service:rabbitmq
File renamed without changes.
12 changes: 0 additions & 12 deletions src/script/start_services.sh

This file was deleted.

File renamed without changes.

0 comments on commit 90c1ca1

Please sign in to comment.