revert(docker): remove external DNS to use host internal Iran DNS
Deploy Canina / deploy (push) Successful in 50s
Deploy Canina / deploy (push) Successful in 50s
This commit is contained in:
1 parent
e1f471c978
commit
45359eb2fa
2 files changed
-16
No files matched your search
@@ -25,10 +25,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: canino_backend_prod
|
container_name: canino_backend_prod
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
|
||||||
- 8.8.8.8
|
|
||||||
- 1.1.1.1
|
|
||||||
- 4.2.2.4
|
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://canino_prod:caninopassword_prod@db_prod:5432/caninodb_prod?schema=public
|
- DATABASE_URL=postgresql://canino_prod:caninopassword_prod@db_prod:5432/caninodb_prod?schema=public
|
||||||
- REDIS_HOST=redis_prod
|
- REDIS_HOST=redis_prod
|
||||||
@@ -54,10 +50,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: canino_frontend_prod
|
container_name: canino_frontend_prod
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
|
||||||
- 8.8.8.8
|
|
||||||
- 1.1.1.1
|
|
||||||
- 4.2.2.4
|
|
||||||
environment:
|
environment:
|
||||||
- NEXT_PUBLIC_API_URL=http://backend_prod:3000
|
- NEXT_PUBLIC_API_URL=http://backend_prod:3000
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -27,10 +27,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: canino_backend_stage
|
container_name: canino_backend_stage
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
|
||||||
- 8.8.8.8
|
|
||||||
- 1.1.1.1
|
|
||||||
- 4.2.2.4
|
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://canino_stage:caninopassword_stage@db_stage:5432/caninodb_stage?schema=public
|
- DATABASE_URL=postgresql://canino_stage:caninopassword_stage@db_stage:5432/caninodb_stage?schema=public
|
||||||
- REDIS_HOST=redis_stage
|
- REDIS_HOST=redis_stage
|
||||||
@@ -60,10 +56,6 @@ services:
|
|||||||
VITE_API_URL: "https://stageapi.canina.ir"
|
VITE_API_URL: "https://stageapi.canina.ir"
|
||||||
container_name: canino_frontend_stage
|
container_name: canino_frontend_stage
|
||||||
restart: always
|
restart: always
|
||||||
dns:
|
|
||||||
- 8.8.8.8
|
|
||||||
- 1.1.1.1
|
|
||||||
- 4.2.2.4
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.canina-stage.rule=Host(`stage.canina.ir`) || Host(`stageadmin.canina.ir`)"
|
- "traefik.http.routers.canina-stage.rule=Host(`stage.canina.ir`) || Host(`stageadmin.canina.ir`)"
|
||||||
|
|||||||
Reference in new issue
Block a user