skip to Main Content

Troubleshooting connection issue: ASP.NET Core 8 MVC project containerization with SQL Server Docker container

I have an ASP.NET Core 8 MVC project that I've containerized. Initially, I pulled a SQL Server image from Docker Hub and then modified the default connection as follows: "ConnectionStrings": { "DefaultConnection": "Server=mysql-container,3306;Database=ProductsDB;User Id=root;Password=my-secret-pw;" }, However, upon attempting to access…

VIEW QUESTION

Connect Metabase to database of choice by default using docker compose

I have the following docker-compose.yml file networks: default: driver: bridge services: timescale: image: timescale/timescaledb:latest-pg15 ports: - "5432:5432" environment: POSTGRES_USER: timescaledb POSTGRES_PASSWORD: pass123 volumes: - ./timescaledb-data:/var/lib/postgresql/data metabase_admin_mysql: image: mysql:latest restart: always environment: MYSQL_ROOT_PASSWORD: your_root_password MYSQL_DATABASE: metabase MYSQL_USER: metabase_user MYSQL_PASSWORD: metabase_password healthcheck:…

VIEW QUESTION
Back To Top
Search