cf064531c5
Build and Push Docker Images / build (push) Successful in 11s
- docker-compose.yml is now the single file for Portainer (staging and prod).
Uses registry images with ${IMAGE_TAG:-staging}, ${LOGS_PATH:-/opt/myai/logs},
and ${FILES_PATH:-/opt/myai/files} so the same file works for all environments.
- docker-compose.override.yml adds build context, ports, and env_file for local dev
and is auto-merged by "docker compose up" (no extra flags needed).
- .env.template documents IMAGE_TAG, LOGS_PATH, FILES_PATH alongside existing vars.
- docker-compose.dcproj updated so override file nests under docker-compose.yml in
Solution Explorer.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 lines
1015 B
YAML
55 lines
1015 B
YAML
# Local development overrides — auto-merged by "docker compose up".
|
|
# Do NOT paste this into Portainer. It only adds build context, port mappings,
|
|
# and env_file loading on top of docker-compose.yml.
|
|
|
|
services:
|
|
rag-api:
|
|
build:
|
|
context: ..
|
|
dockerfile: Apis/rag-api/Dockerfile
|
|
ports:
|
|
- "8081:8080"
|
|
env_file:
|
|
- .env
|
|
|
|
cv-matcher-api:
|
|
build:
|
|
context: ..
|
|
dockerfile: Apis/cv-matcher-api/Dockerfile
|
|
ports:
|
|
- "8082:8080"
|
|
env_file:
|
|
- .env
|
|
|
|
api:
|
|
build:
|
|
context: ..
|
|
dockerfile: Apis/api/Dockerfile
|
|
ports:
|
|
- "8080:8080"
|
|
env_file:
|
|
- .env
|
|
|
|
cv-cleanup-job:
|
|
build:
|
|
context: ..
|
|
dockerfile: Jobs/cv-cleanup-job/Dockerfile
|
|
env_file:
|
|
- .env
|
|
|
|
cv-search-job:
|
|
build:
|
|
context: ..
|
|
dockerfile: Jobs/cv-search-job/Dockerfile
|
|
env_file:
|
|
- .env
|
|
|
|
web:
|
|
build:
|
|
context: ..
|
|
dockerfile: web/Dockerfile
|
|
ports:
|
|
- "5000:8080"
|
|
env_file:
|
|
- .env
|