update 换一下oracle的docker镜像,原来的启动太久了

This commit is contained in:
dhb52 2024-03-16 14:54:05 +08:00
parent 6086db3b0b
commit eb0466169c

View File

@ -2,20 +2,19 @@ version: '3'
services: services:
# 此镜像仅用于测试 正式环境需自行安装数据库 # 此镜像仅用于测试 正式环境需自行安装数据库
# SID: XE user: system password: oracle
oracle: oracle:
image: tekintian/oracle12c:latest image: gvenzl/oracle-xe:18-slim-faststart
container_name: oracle container_name: oracle
environment: environment:
# 时区上海 # 时区上海
TZ: Asia/Shanghai TZ: Asia/Shanghai
DBCA_TOTAL_MEMORY: 16192 ## 登录信息 SID: XE user: system password: oracle
ORACLE_PASSWORD: oracle
ports: ports:
- "18080:8080"
- "1521:1521" - "1521:1521"
volumes: volumes:
# 数据挂载 # 数据挂载
- "/docker/oracle/data:/u01/app/oracle" - "/docker/oracle/data:/u01/app/oracle/oradata
network_mode: "host" network_mode: "host"
# 此镜像仅用于测试 正式环境需自行安装数据库 # 此镜像仅用于测试 正式环境需自行安装数据库