changed the api key

This commit is contained in:
2026-01-20 16:55:45 -05:00
parent bba5287289
commit 942a20c1b3
3 changed files with 11 additions and 24 deletions

View File

@@ -1,17 +1,14 @@
version: '3.8'
services:
# --- 1. Spring API Service (Backend) ---
ss_builder-api:
build:
context: ./backend # Path to your Spring project's root folder
dockerfile: Dockerfile # Assumes you have a Dockerfile in ./backend
container_name: ss_builder-api
battlbuilder_api:
container_name: battlbuilder_api
hostname: battlbuilder_api
image: gitea.gofwd.group/ballistic-builder-spring/spring-api:latest
ports:
- "8080:8080" # Map host port 8080 to container port 8080
environment:
# These environment variables link the API to the database service defined below
- SPRING_DATASOURCE_URL=jdbc:postgresql://r710.dev.gofwd.group:5433/ss_builder
- SPRING_DATASOURCE_URL=jdbc:postgresql://ash.gofwd.group:5433/ss_builder
- SPRING_DATASOURCE_USERNAME=dba
- SPRING_DATASOURCE_PASSWORD=!@#Qwerty
- SPRING_PROFILES_ACTIVE=prod
@@ -19,11 +16,10 @@ services:
- app-network
# --- 2. Next.js App Service (Frontend) ---
nextjs-app:
build:
context: ./frontend # Path to your Next.js project's root folder
dockerfile: Dockerfile # Assumes you have a Dockerfile in ./frontend
container_name: ss_builder-app
bb_web_app:
hostname: bb_web_app
container_name: bb_web_app
image: gitea.gofwd.group/shadow-gunbuilder-ai-proto/webui:latest
ports:
- "3000:3000" # Map host port 3000 to container port 3000
environment:
@@ -33,7 +29,7 @@ services:
# For local testing, you might need the host IP for Next.js to call back
# - NEXT_PUBLIC_API_URL_LOCAL=http://localhost:8080
depends_on:
- ss_builder-api
- battlbuilder_api
networks:
- app-network