minh android 1 year ago
parent 02d478083f
commit 1d12837be6
  1. 10
      docker-compose.yml.example
  2. 2
      src/_constants/config.js

@ -1,9 +1,9 @@
version: '3.5' version: '3.5'
services: services:
#Nginx Service #Nginx Service
register-teacher-nginx: daisu-nginx:
image: nginx:alpine image: nginx:alpine
container_name: register-teacher-nginx container_name: daisu-nginx
restart: unless-stopped restart: unless-stopped
tty: true tty: true
ports: ports:
@ -12,12 +12,14 @@ services:
volumes: volumes:
- ./:/var/www - ./:/var/www
- ./nginx/conf.d:/etc/nginx/conf.d - ./nginx/conf.d:/etc/nginx/conf.d
# - ./certbot/www:/var/www/certbot/:ro
# - ./certbot/conf/:/etc/nginx/ssl/:ro
networks: networks:
- app-network - app-network
#Node Service #Node Service
register-teacher-web: daisu-node-web:
image: node:16 image: node:16
container_name: register-teacher-web container_name: daisu-node-web
build: build:
context: . context: .
dockerfile: ./Dockerfile dockerfile: ./Dockerfile

@ -11,7 +11,7 @@ export const configConstants = {
BASE_URL: "https://agent.sundayenglish.com/", BASE_URL: "https://agent.sundayenglish.com/",
EXCERCISE_URL: "https://exercise.sundayenglish.com/", EXCERCISE_URL: "https://exercise.sundayenglish.com/",
// API_URL_SETEST: "http://45.119.84.189:10809/api", // 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/", AUTH_URL: "https://oauth2.sundayenglish.com/",
API_TIMEOUT: "60000", API_TIMEOUT: "60000",
LOGIN_VIA_GOOLE: "GOOGLE", LOGIN_VIA_GOOLE: "GOOGLE",

Loading…
Cancel
Save