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