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 5c6dd18
Show file tree
Hide file tree
Showing 7 changed files with 24 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": "/workspaces/blueapi",
"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.
10 changes: 10 additions & 0 deletions .devcontainer/docker-compose-rabbitmq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
rabbitmq:
image: rabbitmq:management
container_name: 'rabbitmq'
ports:
- 5672:5672
- 15672:15672
- 61613:61613
volumes:
- ./rabbitmq_setup/enabled_plugins:/etc/rabbitmq/enabled_plugins
7 changes: 7 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
blueapi:
build:
target: developer
dockerfile: ../Dockerfile
volumes:
- ..:/workspaces:cached,z
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 5c6dd18

Please sign in to comment.