From f63464ba1e916d621f5e0c3174cbe1bbedaac3bb Mon Sep 17 00:00:00 2001 From: "Calabro, Brandon" Date: Sun, 20 Jul 2025 21:26:14 -0500 Subject: [PATCH] Fixes to the docker-compose for oracle DB credentials --- README.md | 7 +++---- docker-compose.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1ce01fd..bddb99a 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ REPO_URL=https://github.com/SWG-Source/swg-main.git REPO_USERNAME=your-gitlab-username REPO_PASSWORD=your-personal-access-token -# (Optional) Credentials for overriding the default oracle DB -ORACLE_PASSWORD=YourSecureOraclePassword -APP_USER=YourAppUser -APP_USER_PASSWORD=YourSecureAppPassword +# (Optional) Credentials for the oracle DB user/pass +DB_USER=db_user_password +DB_USER_PASSWORD=db_user_password ``` \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index a2ad20c..618bb5d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,9 +7,9 @@ services: ports: - "1521:1521" environment: - ORACLE_PASSWORD: ${ORACLE_PASSWORD:-swg} - APP_USER: ${APP_USER:-swg} - APP_USER_PASSWORD: ${APP_USER_PASSWORD:-swg} + ORACLE_PASSWORD: swg + APP_USER: ${DB_USER:-swg} + APP_USER_PASSWORD: ${DB_USER_PASSWORD:-swg} healthcheck: test: ["CMD", "healthcheck.sh"] interval: 10s @@ -40,9 +40,9 @@ services: environment: DB_HOST: oracle DB_PORT: 1521 - DB_USER: ${APP_USER:-swg} - ORACLE_PASSWORD: ${ORACLE_PASSWORD:-swg} - DB_PASSWORD: ${APP_USER_PASSWORD:-swg} + DB_USER: ${DB_USER:-swg} + ORACLE_PASSWORD: swg + DB_PASSWORD: ${DB_USER_PASSWORD:-swg} tty: true stdin_open: true volumes: