fix(docker): configure official Iran TIC national DNS servers (217.218.127.127)
All checks were successful
Deploy Canina / deploy (push) Successful in 42s
All checks were successful
Deploy Canina / deploy (push) Successful in 42s
This commit is contained in:
parent
45359eb2fa
commit
897b4d61ec
@ -25,6 +25,9 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: canino_backend_prod
|
||||
restart: always
|
||||
dns:
|
||||
- 217.218.127.127
|
||||
- 217.218.155.155
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://canino_prod:caninopassword_prod@db_prod:5432/caninodb_prod?schema=public
|
||||
- REDIS_HOST=redis_prod
|
||||
@ -50,6 +53,9 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: canino_frontend_prod
|
||||
restart: always
|
||||
dns:
|
||||
- 217.218.127.127
|
||||
- 217.218.155.155
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_URL=http://backend_prod:3000
|
||||
labels:
|
||||
|
||||
@ -27,6 +27,9 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: canino_backend_stage
|
||||
restart: always
|
||||
dns:
|
||||
- 217.218.127.127
|
||||
- 217.218.155.155
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://canino_stage:caninopassword_stage@db_stage:5432/caninodb_stage?schema=public
|
||||
- REDIS_HOST=redis_stage
|
||||
@ -56,6 +59,9 @@ services:
|
||||
VITE_API_URL: "https://stageapi.canina.ir"
|
||||
container_name: canino_frontend_stage
|
||||
restart: always
|
||||
dns:
|
||||
- 217.218.127.127
|
||||
- 217.218.155.155
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.canina-stage.rule=Host(`stage.canina.ir`) || Host(`stageadmin.canina.ir`)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user