Files
AdamuSw/deploy-adamu/docker-compose.prod.yml
Acentech Dev 2e59cdfe1f
Some checks failed
.NET Core / build (push) Has been cancelled
chore: AdamuSw deploy composes (local test + Coolify/Traefik prod) using self-built image
- 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>
2026-07-14 19:31:07 +03:00

54 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AdamuSw production deploy (Coolify + Traefik)
# Mevcut AdaMu prod kurulumundan uyarlandı; TEK fark: image artık kendi build'imiz.
# Image, Faz 0a Task 3'te DockerHub'a push edilecek. Coolify'da OPENMU_IMAGE env'i
# set edilirse onu, edilmezse aşağıdaki default'u kullanır.
services:
openmu-startup:
image: ${OPENMU_IMAGE:-atfatmc/adamu-openmu:latest} # <-- kendi DockerHub image'imiz (Task 3)
container_name: openmu-startup
networks:
- coolify
ports:
- "55901:55901"
- "55902:55902"
- "55903:55903"
- "55904:55904"
- "55905:55905"
- "55906:55906"
- "44405:44405"
- "55980:55980"
environment:
DB_HOST: database
working_dir: /app/
depends_on:
- database
labels:
- "traefik.enable=true"
- "traefik.docker.network=coolify"
- "traefik.http.routers.openmu.entrypoints=https"
- "traefik.http.routers.openmu.middlewares=auth"
- 'traefik.http.middlewares.auth.basicauth.users=adios:$2b$12$wUA5rxsUOhT2JbFfA3NJ6u52zaVVpWuzdl2DPomSE7n..0FqYrk02'
- "traefik.http.routers.openmu.rule=Host(`${SERVICE_FQDN_OPENMU_STARTUP}`)"
- "traefik.http.services.openmu.loadbalancer.server.port=8080"
database:
image: postgres
container_name: database
environment:
POSTGRES_PASSWORD: admin
POSTGRES_DB: openmu
POSTGRES_USER: postgres
networks:
- coolify
ports:
- "5432"
volumes:
- dbdata:/var/lib/postgresql #store data on volume
networks:
coolify:
external: true
volumes:
dbdata: