【发布时间】:2015-04-11 19:21:31
【问题描述】:
我正在使用 Docker Compose 制作一个运行带有 Oracle 后端的 Rails 应用程序的容器。
Dockerfile and docker-compose.yml
在我的 Docker 容器尝试安装 ruby-oci8 gem 之前,这非常有效,它会查找一些特定于 oracle 的环境变量。
These variables are exposed in the oracle container's Dockerfile:
RUN 'export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe'
问题是,如何将oracle容器上的这个环境变量暴露给web容器?
【问题讨论】:
标签: ruby-on-rails oracle docker docker-compose fig