forked from 3scale/porta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test-oracle.yml
41 lines (41 loc) · 1 KB
/
docker-compose.test-oracle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '2.1'
services:
database:
image: ${ORACLE_DB_IMAGE:-quay.io/3scale/oracle:12.2.0.1-ee-custom}
privileged: true
container_name: ${PROJECT:-system}-database
network_mode: bridge
volumes:
- "${PWD}/script/oracle:/opt/oracle/scripts/setup"
environment:
ORACLE_CHARACTERSET: 'AL32UTF8'
ORACLE_SID: 'threescale'
ORACLE_PDB: 'systempdb'
ORACLE_PWD: 'threescalepass'
cache:
build: .
network_mode: none
container_name: ${PROJECT:-system}-cache
command: sleep infinity
build:
build:
context: .
args:
- DB=oracle
image: ${PROJECT:-system}-oracle_build
dns: 127.0.0.1
container_name: ${PROJECT:-system}-build
network_mode: bridge
cap_add:
- SYS_PTRACE
environment:
DB_HOST: ${PROJECT:-system}-database
ORACLE_SYSTEM_PASSWORD: threescalepass
NLS_LANG: AMERICAN_AMERICA.UTF8
TZ: UTC
volumes_from:
- cache
depends_on:
- database
links:
- database