Add deployment scripts and docker-compose configs for OCI

This commit is contained in:
윤희준
2026-08-15 07:22:42 +09:00
parent fc21710e60
commit 7209f5610f
4 changed files with 232 additions and 0 deletions

98
docker-compose.prod.yml Normal file
View File

@@ -0,0 +1,98 @@
name: ax_hub_mcp
services:
gateway:
build:
context: ./dap-was-dapms
dockerfile: Dockerfile
ports:
- "127.0.0.1:9281:8080"
environment:
- TZ=Asia/Seoul
restart: always
was-sal:
build:
context: ./dap-was-dapmt
dockerfile: dap-was-sal/Dockerfile
ports:
- "127.0.0.1:9282:8082"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8080
- AXHUB_TOOL_URL=http://was-sal:8082
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
restart: always
was-cus:
build:
context: ./dap-was-dapmt
dockerfile: dap-was-cus/Dockerfile
ports:
- "127.0.0.1:9284:8084"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8080
- AXHUB_TOOL_URL=http://was-cus:8084
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
restart: always
was-pro:
build:
context: ./dap-was-dapmt
dockerfile: dap-was-pro/Dockerfile
ports:
- "127.0.0.1:9285:8085"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8080
- AXHUB_TOOL_URL=http://was-pro:8085
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
restart: always
was-sys:
build:
context: ./dap-was-dapmt
dockerfile: dap-was-sys/Dockerfile
ports:
- "127.0.0.1:9286:8086"
environment:
- TZ=Asia/Seoul
- AXHUB_GATEWAY_URL=http://gateway:8080
- AXHUB_TOOL_URL=http://was-sys:8086
- GLOW_COMMUNICATION_MCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_MCI_PORT=8080
- GLOW_COMMUNICATION_EXTMCI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
- GLOW_COMMUNICATION_EAI_HOST=http://mci-mock
- GLOW_COMMUNICATION_EAI_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
restart: always
gitea-runner:
image: gitea/act_runner:latest
environment:
- GITEA_INSTANCE_URL=https://git.devjun.net
- GITEA_RUNNER_REGISTRATION_TOKEN=2N7ciuFIp2Jm29EWtzfl7ruQtpwGgB4ngFcXC2lF
- GITEA_RUNNER_NAME=ociwp-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always