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

chore: amend local.yaml compose configuration in workspace root #51

Merged
merged 1 commit into from
Nov 21, 2024
Merged
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
12 changes: 6 additions & 6 deletions local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ services:
context: .
dockerfile: Dockerfile
target: development
image: observerly/birpc:development
container_name: observerly_birpc_development
image: observerly/nova:development
container_name: observerly_nova_development
volumes:
- .:/observerly-birpc
- .:/observerly-nova
depends_on:
- db
env_file:
- .env
stdin_open: true
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:db
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)

db: &db
profiles: ["db"]
image: mysql:8
container_name: observerly_birpc_db
container_name: observerly_nova_db
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
Expand All @@ -35,4 +35,4 @@ services:
restart: unless-stopped

volumes:
db_data:
db_data:
Loading