docker: rename stuff for no reason
This commit is contained in:
parent
11846c32e6
commit
ed68af80b0
8
Makefile
8
Makefile
@ -1,5 +1,5 @@
|
|||||||
maps-service:
|
submissions:
|
||||||
DOCKER_BUILDKIT=1 docker build . -f Containerfile -t maps-service
|
DOCKER_BUILDKIT=1 docker build . -f Containerfile -t maps-service-submissions
|
||||||
|
|
||||||
web:
|
web:
|
||||||
docker build web -f web/Containerfile -t maps-service-web
|
docker build web -f web/Containerfile -t maps-service-web
|
||||||
@ -7,6 +7,6 @@ web:
|
|||||||
validation:
|
validation:
|
||||||
docker build validation -f validation/Containerfile -t maps-service-validation
|
docker build validation -f validation/Containerfile -t maps-service-validation
|
||||||
|
|
||||||
all: maps-service web validation
|
all: submissions web validation
|
||||||
|
|
||||||
.PHONY: maps-service web validation
|
.PHONY: submissions web validation
|
||||||
|
14
compose.yaml
14
compose.yaml
@ -11,10 +11,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- maps-service-network
|
- maps-service-network
|
||||||
|
|
||||||
mapsservice:
|
submissions:
|
||||||
image:
|
image:
|
||||||
maps-service
|
maps-service-submissions
|
||||||
container_name: mapsservice
|
container_name: submissions
|
||||||
command: [
|
command: [
|
||||||
# debug
|
# debug
|
||||||
"--debug","serve",
|
"--debug","serve",
|
||||||
@ -55,15 +55,15 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- ../auth-compose/strafesnet.env
|
- ../auth-compose/strafesnet.env
|
||||||
environment:
|
environment:
|
||||||
- API_HOST=http://mapsservice:8082
|
- API_HOST=http://submissions:8082
|
||||||
- API_HOST_INTERNAL=http://mapsservice:8083
|
- API_HOST_INTERNAL=http://submissions:8083
|
||||||
- NATS_HOST=nats:4222
|
- NATS_HOST=nats:4222
|
||||||
- DATA_HOST=http://dataservice:9000
|
- DATA_HOST=http://dataservice:9000
|
||||||
depends_on:
|
depends_on:
|
||||||
- nats
|
- nats
|
||||||
# note: this races the mapsservice which creates a nats stream
|
# note: this races the submissions which creates a nats stream
|
||||||
# the validation will panic if the nats stream is not created
|
# the validation will panic if the nats stream is not created
|
||||||
- mapsservice
|
- submissions
|
||||||
- dataservice
|
- dataservice
|
||||||
networks:
|
networks:
|
||||||
- maps-service-network
|
- maps-service-network
|
||||||
|
@ -7,7 +7,7 @@ const nextConfig: NextConfig = {
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
source: "/v1/submissions/:submissionid/status/:statustype",
|
source: "/v1/submissions/:submissionid/status/:statustype",
|
||||||
destination: "http://mapsservice:8082/v1/submissions/:submissionid/status/:statustype"
|
destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user