Files
cb-webhook/docker-compose.yml
2026-02-21 17:10:41 +08:00

34 lines
915 B
YAML

services:
# 1. Oracle 数据库:基础设施的核心
oracle19c:
image: container-registry.oracle.com/database/enterprise:19.3.0.0
container_name: oracle-db
platform: linux/amd64
ports:
- "1521:1521"
environment:
- ORACLE_PWD=AZUMA
- ORACLE_SID=ORCL
- ORACLE_PDB=ORCLPDB1
- ORACLE_CHARACTERSET=JA16SJISTILDE
volumes:
- oracle19c-data:/opt/oracle/oradata
- ./oracledb/initdb:/opt/oracle/scripts/startup
- ./sql:/opt/oracle/scripts/sql:ro # 业务用脚本(不自动执行)
# 👈 加上内存限制,确保系统稳定性
deploy:
resources:
limits:
memory: 12G
restart: always
# 2. Redis 服务
redis-server:
image: redis:alpine
container_name: redis-server
restart: always
ports:
- "6379:6379"
volumes:
oracle19c-data: