-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (35 loc) · 941 Bytes
/
docker-compose.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
version: '3.8'
services:
oracle23c:
image: container-registry.oracle.com/database/free:latest
container_name: oracle23c
ports:
- "1521:1521"
environment:
- ORACLE_PWD=0racl3P4ssw0rd
- ORACLE_CHARACTERSET=AL32UTF8
networks:
- sandbox
hostname: apexdatabase
volumes:
- oracle23c-data:/opt/oracle/oradata
# Add a command to run the script for initializing the database
#command: /bin/bash -c "/path/to/init_script.sh && /path/to/entrypoint.sh"
ords:
image: container-registry.oracle.com/database/ords:latest
container_name: ords
ports:
- "8181:8181"
volumes:
- ./ords_secrets/:/opt/oracle/variables
- ./ords_config/:/etc/ords/config/
networks:
- sandbox
hostname: apexords
# Ensure the ORDS container waits for the database to be ready
depends_on:
- oracle23c
networks:
sandbox:
volumes:
oracle23c-data: