Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add studio suffix to devcontainer names #589

Merged
merged 4 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/python-3.10/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"dockerComposeFile": [
"./docker-compose.yml"
],
"service": "python-3.10",
"service": "python-3.10-fastagency-studio",
"forwardPorts": [
"${containerEnv:CONTAINER_PREFIX}-nats-py310-fastagency:9222"
"${containerEnv:CONTAINER_PREFIX}-nats-py310-fastagency-studio:9222"
],
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspaces/fastagency",
Expand Down
28 changes: 14 additions & 14 deletions .devcontainer/python-3.10/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: '3'

services:
python-3.10: # nosemgrep
python-3.10-fastagency-studio: # nosemgrep
image: mcr.microsoft.com/devcontainers/python:3.10
container_name: $USER-python-3.10-fastagency
container_name: $USER-python-3.10-fastagency-studio
volumes:
- ../../:/workspaces/fastagency:cached
command: sleep infinity
environment:
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py310-fastagency:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py310-fastagency:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py310-fastagency:4222
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py310-fastagency-studio:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py310-fastagency-studio:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py310-fastagency-studio:4222
env_file:
- ../devcontainer.env
networks:
- fastagency-network
nats-fastagency: # nosemgrep
- fastagency-studio-network
nats-fastagency-studio: # nosemgrep
image: nats:latest
container_name: $USER-nats-py310-fastagency
container_name: $USER-nats-py310-fastagency-studio
# ports:
# - "${PORT_PREFIX}4222:4222"
# - "${PORT_PREFIX}9222:9222"
Expand All @@ -27,19 +27,19 @@ services:
env_file:
- ../devcontainer.env
networks:
- fastagency-network
postgres-fastagency: # nosemgrep
- fastagency-studio-network
postgres-fastagency-studio: # nosemgrep
image: postgres:latest
container_name: $USER-postgres-py310-fastagency
container_name: $USER-postgres-py310-fastagency-studio
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password # pragma: allowlist secret
POSTGRES_DB: fastagency
# ports:
# - "${PORT_PREFIX}5432:5432"
networks:
- fastagency-network
- fastagency-studio-network

networks:
fastagency-network:
name: "${USER}-fastagency-network"
fastagency-studio-network:
name: "${USER}-fastagency-studio-network"
4 changes: 2 additions & 2 deletions .devcontainer/python-3.11/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"dockerComposeFile": [
"./docker-compose.yml"
],
"service": "python-3.11",
"service": "python-3.11-fastagency-studio",
"forwardPorts": [
"${containerEnv:CONTAINER_PREFIX}-nats-py311-fastagency:9222"
"${containerEnv:CONTAINER_PREFIX}-nats-py311-fastagency-studio:9222"
],
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspaces/fastagency",
Expand Down
28 changes: 14 additions & 14 deletions .devcontainer/python-3.11/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: '3'

services:
python-3.11: # nosemgrep
python-3.11-fastagency-studio: # nosemgrep
image: mcr.microsoft.com/devcontainers/python:3.11
container_name: $USER-python-3.11-fastagency
container_name: $USER-python-3.11-fastagency-studio
volumes:
- ../../:/workspaces/fastagency:cached
command: sleep infinity
environment:
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py311-fastagency:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py311-fastagency:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py311-fastagency:4222
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py311-fastagency-studio:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py311-fastagency-studio:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py311-fastagency-studio:4222
env_file:
- ../devcontainer.env
networks:
- fastagency-network
nats-fastagency: # nosemgrep
- fastagency-studio-network
nats-fastagency-studio: # nosemgrep
image: nats:latest
container_name: $USER-nats-py311-fastagency
container_name: $USER-nats-py311-fastagency-studio
# ports:
# - "${PORT_PREFIX}4222:4222"
# - "${PORT_PREFIX}9222:9222"
Expand All @@ -27,19 +27,19 @@ services:
env_file:
- ../devcontainer.env
networks:
- fastagency-network
postgres-fastagency: # nosemgrep
- fastagency-studio-network
postgres-fastagency-studio: # nosemgrep
image: postgres:latest
container_name: $USER-postgres-py311-fastagency
container_name: $USER-postgres-py311-fastagency-studio
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password # pragma: allowlist secret
POSTGRES_DB: fastagency
# ports:
# - "${PORT_PREFIX}5432:5432"
networks:
- fastagency-network
- fastagency-studio-network

networks:
fastagency-network:
name: "${USER}-fastagency-network"
fastagency-studio-network:
name: "${USER}-fastagency-studio-network"
4 changes: 2 additions & 2 deletions .devcontainer/python-3.12/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"dockerComposeFile": [
"./docker-compose.yml"
],
"service": "python-3.12",
"service": "python-3.12-fastagency-studio",
"forwardPorts": [
"${containerEnv:CONTAINER_PREFIX}-nats-py312-fastagency:9222"
"${containerEnv:CONTAINER_PREFIX}-nats-py312-fastagency-studio:9222"
],
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspaces/fastagency",
Expand Down
28 changes: 14 additions & 14 deletions .devcontainer/python-3.12/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: '3'

services:
python-3.12: # nosemgrep
python-3.12-fastagency-studio: # nosemgrep
image: mcr.microsoft.com/devcontainers/python:3.12
container_name: $USER-python-3.12-fastagency
container_name: $USER-python-3.12-fastagency-studio
volumes:
- ../../:/workspaces/fastagency:cached
command: sleep infinity
environment:
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py312-fastagency:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py312-fastagency:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py312-fastagency:4222
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py312-fastagency-studio:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py312-fastagency-studio:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py312-fastagency-studio:4222
env_file:
- ../devcontainer.env
networks:
- fastagency-network
nats-fastagency: # nosemgrep
- fastagency-studio-network
nats-fastagency-studio: # nosemgrep
image: nats:latest
container_name: $USER-nats-py312-fastagency
container_name: $USER-nats-py312-fastagency-studio
# ports:
# - "${PORT_PREFIX}4222:4222"
# - "${PORT_PREFIX}9222:9222"
Expand All @@ -27,19 +27,19 @@ services:
env_file:
- ../devcontainer.env
networks:
- fastagency-network
postgres-fastagency: # nosemgrep
- fastagency-studio-network
postgres-fastagency-studio: # nosemgrep
image: postgres:latest
container_name: $USER-postgres-py312-fastagency
container_name: $USER-postgres-py312-fastagency-studio
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password # pragma: allowlist secret
POSTGRES_DB: fastagency
# ports:
# - "${PORT_PREFIX}5432:5432"
networks:
- fastagency-network
- fastagency-studio-network

networks:
fastagency-network:
name: "${USER}-fastagency-network"
fastagency-studio-network:
name: "${USER}-fastagency-studio-network"
4 changes: 2 additions & 2 deletions .devcontainer/python-3.9/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"dockerComposeFile": [
"./docker-compose.yml"
],
"service": "python-3.9",
"service": "python-3.9-fastagency-studio",
"forwardPorts": [
"${containerEnv:CONTAINER_PREFIX}-nats-py39-fastagency:9222"
"${containerEnv:CONTAINER_PREFIX}-nats-py39-fastagency-studio:9222"
],
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspaces/fastagency",
Expand Down
28 changes: 14 additions & 14 deletions .devcontainer/python-3.9/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: '3'

services:
python-3.9: # nosemgrep
python-3.9-fastagency-studio: # nosemgrep
image: mcr.microsoft.com/devcontainers/python:3.9
container_name: $USER-python-3.9-fastagency
container_name: $USER-python-3.9-fastagency-studio
volumes:
- ../../:/workspaces/fastagency:cached
command: sleep infinity
environment:
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py39-fastagency:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py39-fastagency:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py39-fastagency:4222
- DATABASE_URL=postgresql://admin:password@${USER}-postgres-py39-fastagency-studio:5432/fastagency
- PY_DATABASE_URL=postgresql://admin:password@${USER}-postgres-py39-fastagency-studio:5432/pyfastagency
- NATS_URL=nats://${USER}-nats-py39-fastagency-studio:4222
env_file:
- ../devcontainer.env
networks:
- fastagency-network
nats-fastagency: # nosemgrep
- fastagency-studio-network
nats-fastagency-studio: # nosemgrep
image: nats:latest
container_name: $USER-nats-py39-fastagency
container_name: $USER-nats-py39-fastagency-studio
# ports:
# - "${PORT_PREFIX}4222:4222"
# - "${PORT_PREFIX}9222:9222"
Expand All @@ -27,19 +27,19 @@ services:
env_file:
- ../devcontainer.env
networks:
- fastagency-network
postgres-fastagency: # nosemgrep
- fastagency-studio-network
postgres-fastagency-studio: # nosemgrep
image: postgres:latest
container_name: $USER-postgres-py39-fastagency
container_name: $USER-postgres-py39-fastagency-studio
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: password # pragma: allowlist secret
POSTGRES_DB: fastagency
# ports:
# - "${PORT_PREFIX}5432:5432"
networks:
- fastagency-network
- fastagency-studio-network

networks:
fastagency-network:
name: "${USER}-fastagency-network"
fastagency-studio-network:
name: "${USER}-fastagency-studio-network"
Loading