fix(compose): set build network to traefik_public for direct nexus access
Deploy Canina / deploy (push) Failing after 2s
Deploy Canina / deploy (push) Failing after 2s
This commit is contained in:
1 parent
11ec6a77ef
commit
0625b45ca7
2 files changed
+4
No files matched your search
@@ -25,6 +25,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
network: traefik_public
|
||||||
container_name: canino_backend_prod
|
container_name: canino_backend_prod
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -52,6 +53,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
network: traefik_public
|
||||||
args:
|
args:
|
||||||
NEXT_PUBLIC_API_URL: "https://api.canina.ir/api"
|
NEXT_PUBLIC_API_URL: "https://api.canina.ir/api"
|
||||||
VITE_API_URL: "https://api.canina.ir"
|
VITE_API_URL: "https://api.canina.ir"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
network: traefik_public
|
||||||
container_name: canino_backend_stage
|
container_name: canino_backend_stage
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -52,6 +53,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
network: traefik_public
|
||||||
args:
|
args:
|
||||||
NEXT_PUBLIC_API_URL: "https://stageapi.canina.ir/api"
|
NEXT_PUBLIC_API_URL: "https://stageapi.canina.ir/api"
|
||||||
VITE_API_URL: "https://stageapi.canina.ir"
|
VITE_API_URL: "https://stageapi.canina.ir"
|
||||||
|
|||||||
Reference in new issue
Block a user