chore: AdamuSw deploy composes (local test + Coolify/Traefik prod) using self-built image
Some checks failed
.NET Core / build (push) Has been cancelled

- deploy-adamu/docker-compose.local.yml: local postgres + adamu-openmu:dev, direct 8080
- deploy-adamu/docker-compose.prod.yml: Coolify/Traefik prod adapted from AdaMu, image swapped to our build
- additive folder (deploy-adamu) to avoid upstream deploy/ merge conflicts
- plan Step5 fixed (-p:ci=true), paths -> deploy-adamu

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Acentech Dev
2026-07-14 19:31:07 +03:00
parent 6aba2dd3c9
commit 2e59cdfe1f
3 changed files with 96 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ Expected: push başarılı; Gitea'da `main` branch commit'leri görünür.
### Task 2: Kendi image'ini derle ve lokalde çalıştığını doğrula
**Files:**
- Create: `deploy-local/docker-compose.local.yml` (postgres + bizim image)
- Create: `deploy-adamu/docker-compose.local.yml` (postgres + bizim image)
- Test: lokal `docker compose up` + boot/log doğrulaması
**Interfaces:**
@@ -112,7 +112,7 @@ Expected: multi-stage build tamamlanır, son satır `naming to docker.io/library
Stock `all-in-one`'ın birebir kopyası; tek fark `image: munique/openmu``image: adamu-openmu:dev` ve nginx katmanı sadeleştirildi (doğrudan 8080 expose).
Create `deploy-local/docker-compose.local.yml`:
Create `deploy-adamu/docker-compose.local.yml`:
```yaml
services:
openmu-startup:
@@ -155,7 +155,7 @@ volumes:
- [ ] **Step 3: Stack'i ayağa kaldır**
```bash
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-local" && \
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-adamu" && \
docker compose -f docker-compose.local.yml up -d && \
docker compose -f docker-compose.local.yml ps
```
@@ -166,7 +166,7 @@ Expected: `adamu-database` ve `adamu-openmu-startup` `Up` durumda.
`-autostart` ilk açılışta DB'yi initialize eder (birkaç dakika sürebilir).
```bash
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-local" && \
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-adamu" && \
docker compose -f docker-compose.local.yml logs --tail=40 openmu-startup
```
Expected: init sonrası dinleme mesajları (ör. GameServer/ConnectServer listening) ve exception/fatal yok. Hâlâ initialize ediyorsa ~60 sn sonra tekrar bak.
@@ -181,10 +181,10 @@ Expected: `200` veya `302` (auth yönlendirmesi). Bağlantı reddi DEĞİL.
- [ ] **Step 6: Stack'i durdur ve compose dosyasını commit et**
```bash
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-local" && \
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/deploy-adamu" && \
docker compose -f docker-compose.local.yml down && \
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw" && \
git add deploy-local/docker-compose.local.yml && \
git add deploy-adamu/docker-compose.local.yml && \
git -c user.name="Acentech Dev" -c user.email="acentech_dev@affinitybox.com" \
commit -m "chore: local all-in-one compose for self-built image test" && \
git push origin main