From 1d12837be69e907ad78af79d7f4a880af15e3e90 Mon Sep 17 00:00:00 2001 From: minh android Date: Fri, 12 Jul 2024 16:37:42 +0700 Subject: [PATCH] config --- docker-compose.yml.example | 10 ++++++---- src/_constants/config.js | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 02345b5..39145e6 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -1,9 +1,9 @@ version: '3.5' services: #Nginx Service - register-teacher-nginx: + daisu-nginx: image: nginx:alpine - container_name: register-teacher-nginx + container_name: daisu-nginx restart: unless-stopped tty: true ports: @@ -12,12 +12,14 @@ services: volumes: - ./:/var/www - ./nginx/conf.d:/etc/nginx/conf.d + # - ./certbot/www:/var/www/certbot/:ro + # - ./certbot/conf/:/etc/nginx/ssl/:ro networks: - app-network #Node Service - register-teacher-web: + daisu-node-web: image: node:16 - container_name: register-teacher-web + container_name: daisu-node-web build: context: . dockerfile: ./Dockerfile diff --git a/src/_constants/config.js b/src/_constants/config.js index 1b208be..2f823eb 100644 --- a/src/_constants/config.js +++ b/src/_constants/config.js @@ -11,7 +11,7 @@ export const configConstants = { BASE_URL: "https://agent.sundayenglish.com/", EXCERCISE_URL: "https://exercise.sundayenglish.com/", // API_URL_SETEST: "http://45.119.84.189:10809/api", - API_URL_SETEST: "https://agent.sundayenglish.com/api", + API_URL_SETEST: "https://agent.dev.sundayenglish.com/api", AUTH_URL: "https://oauth2.sundayenglish.com/", API_TIMEOUT: "60000", LOGIN_VIA_GOOLE: "GOOGLE",