CI/CD / BackEnd (push) Successful in 1m27s
CI/CD / WebPlayer (push) Successful in 39s
CI/CD / Deploy (push) Skipped
CI/CD / BackEnd (pull_request) Successful in 1m16s
CI/CD / WebPlayer (pull_request) Successful in 39s
CI/CD / Deploy (pull_request) Skipped
Remove deploy/nginx and the nginx service from compose.prod.yml: the shared edge in Infrastructure owns ports 80/443 and serves every domain. Make the deploy job fail when zitadel-init or seaweedfs-init fail, and document the runner and edge setup.
22 lines
838 B
YAML
22 lines
838 B
YAML
name: musify-prod
|
|
|
|
# Production overlay: joins Infrastructure's shared `infra-net` network so
|
|
# this project's containers can reach Postgres, Zitadel, SeaweedFS, RabbitMQ
|
|
# and Jaeger by container name, and so the shared edge nginx (Infrastructure's
|
|
# `edge/`, which owns host ports 80/443 and terminates TLS for every domain)
|
|
# can reach api, gateway and web-player. Nothing here publishes a port.
|
|
#
|
|
# docker compose --env-file deploy/.env.prod -f deploy/compose.yml -f deploy/compose.prod.yml up -d
|
|
# docker compose --env-file deploy/.env.prod -f deploy/compose.yml -f deploy/compose.prod.yml --profile apps up -d --build
|
|
|
|
networks:
|
|
default:
|
|
name: infra-net
|
|
external: true
|
|
|
|
services:
|
|
# zitadel-init (compose.yml) edits whichever env file is mounted here.
|
|
zitadel-init:
|
|
volumes:
|
|
- ./.env.prod:/workspace/.env
|