Created
November 26, 2018 14:34
-
-
Save marcelo-ochoa/f82546ecbda9932129773e55bf6a05e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.6' | |
services: | |
pc: | |
image: oracle/database:18.4.0-xe-nfs | |
hostname: pc | |
volumes: | |
- db_data:/opt/oracle/oradata # persistent oracle database data. | |
- type: tmpfs | |
target: /dev/shm | |
tmpfs: | |
size: 2147483648 | |
ports: | |
- 1521:1521 | |
- 5500:5500 | |
environment: | |
- ORACLE_PWD=Oracle_2018 | |
deploy: | |
mode: replicated | |
replicas: 1 | |
restart_policy: | |
condition: on-failure | |
max_attempts: 3 | |
window: 120s | |
configs: | |
- source: test_oranfstab_xe | |
target: /opt/oracle/product/18c/dbhomeXE/dbs/oranfstab | |
configs: | |
test_oranfstab_xe: | |
external: true | |
volumes: | |
db_data: | |
driver: local | |
driver_opts: | |
type: nfs | |
o: addr=10.1.253.110,rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,vers=4,timeo=600,noatime,noacl,nocto | |
device: ":/dbdata/xe-18c" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment