docker: rename stuff for no reason

This commit is contained in:
Quaternions 2024-12-15 01:07:26 -08:00
parent 11846c32e6
commit ed68af80b0
3 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
maps-service:
DOCKER_BUILDKIT=1 docker build . -f Containerfile -t maps-service
submissions:
DOCKER_BUILDKIT=1 docker build . -f Containerfile -t maps-service-submissions
web:
docker build web -f web/Containerfile -t maps-service-web
@ -7,6 +7,6 @@ web:
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

View File

@ -11,10 +11,10 @@ services:
networks:
- maps-service-network
mapsservice:
submissions:
image:
maps-service
container_name: mapsservice
maps-service-submissions
container_name: submissions
command: [
# debug
"--debug","serve",
@ -55,15 +55,15 @@ services:
env_file:
- ../auth-compose/strafesnet.env
environment:
- API_HOST=http://mapsservice:8082
- API_HOST_INTERNAL=http://mapsservice:8083
- API_HOST=http://submissions:8082
- API_HOST_INTERNAL=http://submissions:8083
- NATS_HOST=nats:4222
- DATA_HOST=http://dataservice:9000
depends_on:
- 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
- mapsservice
- submissions
- dataservice
networks:
- maps-service-network

View File

@ -7,7 +7,7 @@ const nextConfig: NextConfig = {
return [
{
source: "/v1/submissions/:submissionid/status/:statustype",
destination: "http://mapsservice:8082/v1/submissions/:submissionid/status/:statustype"
destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype"
}
]
}