- .coolify-bridge.yml: per-project config (slug, branches, previews) No UUIDs needed — bridge creates Coolify resources automatically - docker-compose.coolify.yml: Coolify-compatible compose with build directives, SERVICE_FQDN_FRONTEND_80, H2 profile for PR previews - infra/traefik/onedev.yml: Traefik dynamic config routing git.pele.cam → OneDev (deployed to /data/coolify/proxy/dynamic/) - coolify-bridge/: generic OneDev→Coolify bridge service FastAPI + APScheduler, auto-discovers all projects, find-or-create Coolify resources (project, server, env, apps), systemd service - .onedev-buildspec.yml: add optional notify step at end of CI
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# .coolify-bridge.yml — coolify-bridge per-project configuration
|
|
#
|
|
# This file is read automatically by coolify-bridge from the default branch
|
|
# (usually 'main') of this repository.
|
|
#
|
|
# No UUIDs needed — coolify-bridge creates and manages the Coolify project,
|
|
# server association, environments and applications automatically.
|
|
|
|
slug: citygame # prefix used for Coolify app names
|
|
|
|
compose_file: docker-compose.coolify.yml
|
|
|
|
# Stable branches — created automatically in Coolify if they don't exist
|
|
stable_branches:
|
|
main:
|
|
fqdn: https://citygame.pele.cam
|
|
env:
|
|
SPRING_PROFILES_ACTIVE: prod
|
|
COMPOSE_PROFILES: with-db
|
|
CORS_ALLOWED_ORIGINS: https://citygame.pele.cam
|
|
|
|
develop:
|
|
fqdn: https://dev.citygame.pele.cam
|
|
env:
|
|
SPRING_PROFILES_ACTIVE: prod
|
|
COMPOSE_PROFILES: with-db
|
|
CORS_ALLOWED_ORIGINS: https://dev.citygame.pele.cam
|
|
|
|
# PR previews — created automatically when a PR is opened, deleted when closed
|
|
preview:
|
|
max: 5
|
|
fqdn_template: "https://pr-{pr_number}.citygame.pele.cam"
|
|
env:
|
|
SPRING_PROFILES_ACTIVE: dev
|
|
COMPOSE_PROFILES: "" # H2 in-memory, no Postgres needed
|