3e1cc696c1
- Aligns compose service name with the image name (hrynco.notification-service.web) - Rename API_PORT env var to WEB_PORT for consistency Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 lines
950 B
YAML
38 lines
950 B
YAML
services:
|
|
migrator:
|
|
build: {}
|
|
image: registry.grynco.com.ua/hrynco.notification-service.migrator:${MIGRATOR_IMAGE_TAG:?MIGRATOR_IMAGE_TAG is required}
|
|
|
|
web:
|
|
build: {}
|
|
image: registry.grynco.com.ua/hrynco.notification-service.web:${WEB_IMAGE_TAG:?WEB_IMAGE_TAG is required}
|
|
ports:
|
|
- "${WEB_PORT:?WEB_PORT is required}:8080"
|
|
environment:
|
|
- Serilog__WriteTo__1__Args__serverUrl=${SEQ_URL:-}
|
|
restart: always
|
|
|
|
worker:
|
|
build: {}
|
|
image: registry.grynco.com.ua/hrynco.notification-service.worker:${WORKER_IMAGE_TAG:?WORKER_IMAGE_TAG is required}
|
|
environment:
|
|
- Serilog__WriteTo__1__Args__serverUrl=${SEQ_URL:-}
|
|
restart: always
|
|
|
|
rabbitmq:
|
|
restart: always
|
|
networks:
|
|
- internal
|
|
- hrynco-services
|
|
|
|
db:
|
|
ports:
|
|
- "${DB_PORT:?DB_PORT is required}:5432"
|
|
restart: always
|
|
|
|
networks:
|
|
internal: {}
|
|
hrynco-services:
|
|
external: true
|
|
name: hrynco-services
|