Use environtment variable to config API URL

This commit is contained in:
schooltechx 2023-04-10 17:58:14 +07:00
parent b803beca10
commit e3c74bb25e
13 changed files with 51 additions and 27 deletions

View file

@ -7,6 +7,9 @@ services:
# - "4025:80"
environment:
TZ: Asia/Bangkok
API_CMS_URL: "https://bma-ehr-exam.frappet.synology.me/api/v1/cms"
API_QUALIFYING_URL: "https://bma-ehr-exam.frappet.synology.me/api/v1/cms"
API_COMPETITIVE_URL: "/api"
labels:
- traefik.enable=true
- traefik.http.routers.bma-ehr-qualifying-exam-cms.rule=Host(`bma-qualifying.frappet.synology.me`)