first commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
bff:
|
||||
image: golang:1.24.3
|
||||
volumes:
|
||||
- ..:/src
|
||||
- go-mod-cache:/go/pkg/mod
|
||||
working_dir: /src/bff
|
||||
command: go run . -f etc/bff.yaml
|
||||
ports:
|
||||
- "10000:10000"
|
||||
environment:
|
||||
NACOS_SERVER_ADDR: rnacos:8848
|
||||
depends_on:
|
||||
- rnacos
|
||||
|
||||
product:
|
||||
image: golang:1.24.3
|
||||
volumes:
|
||||
- ..:/src
|
||||
- go-mod-cache:/go/pkg/mod
|
||||
working_dir: /src/product
|
||||
command: go run . -f etc/product.yaml
|
||||
ports:
|
||||
- "10100:10100"
|
||||
environment:
|
||||
NACOS_SERVER_ADDR: rnacos:8848
|
||||
depends_on:
|
||||
- rnacos
|
||||
|
||||
volumes:
|
||||
go-mod-cache:
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: server-network
|
||||
Reference in New Issue
Block a user