File tree 6 files changed +47
-1
lines changed
volumes/core/config/oracle
6 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1
1
.env
2
2
.meta-inf
3
- images /
4
3
.version
4
+ images /
5
+ volumes /core /config /oracle /network /admin /* .ora
6
+ volumes /core /config /oracle /network /admin /tnsnames.ora
7
+ volumes /core /config /oracle /wallet /* .lck
8
+ volumes /core /config /oracle /wallet /* .p12
9
+ volumes /core /config /oracle /wallet /* .sso
Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ services:
25
25
- CORE_DB_HOST=core_db
26
26
- CORE_DB_PASSWORD=${CORE_DB_PASSWORD}
27
27
- CORE_DB_DATABASE=migrator
28
+ - TNS_ADMIN=/app/config/oracle/network/admin
28
29
depends_on :
29
30
core_db :
30
31
condition : service_healthy
31
32
networks :
32
33
- common
34
+ volumes :
35
+ - ./volumes/core/config:/app/config
33
36
34
37
# Internal Migrator database
35
38
core_db :
Original file line number Diff line number Diff line change
1
+ ============================================================================
2
+ This is the default directory for Oracle Network and Oracle Client
3
+ configuration files. You can place files such as tnsnames.ora, sqlnet.ora
4
+ in this directory.
5
+ NOTE:
6
+ The content of this directory has to be provided to the Migrator 'core' with
7
+ the help of the environment variable TNS_ADMIN.
8
+ ============================================================================
Original file line number Diff line number Diff line change
1
+ NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
2
+
3
+ # Don't forget to adjust the 'volumes' configuration in the docker-compose.yml in
4
+ # case you change the location of the wallet.
5
+
6
+ WALLET_LOCATION =
7
+ (SOURCE =
8
+ (METHOD = FILE)
9
+ (METHOD_DATA =
10
+ (DIRECTORY = /app/config/oracle/wallet)
11
+ )
12
+ )
Original file line number Diff line number Diff line change
1
+ # Template file to define TNS names using TCPS (secure data transfer using TLS)
2
+ # Check sqlnet.ora for the location of the wallet file.
3
+
4
+ # Identifiers enclosed with ## have to adjusted to your needs.
5
+
6
+ # ##net_service_name## =
7
+ # (DESCRIPTION =
8
+ # (ADDRESS = (PROTOCOL = TCPS)(HOST = ##host_name_or_ip_address##)(PORT = 2484))
9
+ # (CONNECT_DATA =
10
+ # (SERVER = DEDICATED)
11
+ # (SERVICE_NAME = ##service_name##)
12
+ # )
13
+ # )
Original file line number Diff line number Diff line change
1
+ Copy the files for the Oracle wallet store (client) into this directory.
2
+
3
+ Since the Migrator core acts as client to the database servers the wallet store
4
+ contains the certificates to connect to the database servers via TLS (TCPS
5
+ protocol).
You can’t perform that action at this time.
0 commit comments