Remove MSSQL service from docker-compose

Update backend env to use external DB server (homelab.local)
and set new password

Drop the now‑unused depends_on, volume mount and default network
sections

Increment instance_id (3457 → 3463) for new system instance
This commit is contained in:
2026-01-21 18:37:21 -05:00
parent fa1ad45ed8
commit c780dff015
5 changed files with 3 additions and 22 deletions

View File

Binary file not shown.

View File

@@ -1,3 +1,3 @@
59629046-e974-4356-ba63-5f0605022367 59629046-e974-4356-ba63-5f0605022367
9979554600398963173 9979554600398963173
3457 3463

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -1,33 +1,14 @@
services: services:
mssql:
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: mssql
environment:
- SA_PASSWORD=Passw0rd
- ACCEPT_EULA=Y
ports:
- "1433:1433"
volumes:
- ./db/data:/var/opt/mssql
backend: backend:
build: build:
context: ./backend context: ./backend
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: backend container_name: backend
depends_on:
- mssql
environment: environment:
- DB_SERVER=mssql - DB_SERVER=homelab.local
- DB_USER=sa - DB_USER=sa
- DB_PASSWORD=Passw0rd - DB_PASSWORD=Ou812@12!@
- DB_NAME=CustomerDB - DB_NAME=CustomerDB
ports: ports:
- "8080:8080" - "8080:8080"
volumes:
- ./backend:/app
command: ./main command: ./main
networks:
default:
driver: bridge