docker: fix maps-service

This commit is contained in:
Quaternions 2024-12-12 14:06:29 -08:00
parent 55b5516782
commit d37964764e
2 changed files with 16 additions and 2 deletions

View File

@ -33,4 +33,4 @@ COPY --from=builder /app/service .
EXPOSE 8081 EXPOSE 8081
# Command to run the application # Command to run the application
CMD ["./service"] ENTRYPOINT ["./service"]

View File

@ -24,7 +24,21 @@ services:
context: . context: .
dockerfile: Containerfile dockerfile: Containerfile
container_name: maps-service container_name: maps-service
command: ["--debug","serve","--pg-host","10.0.0.29","--pg-port","5432","--pg-db","maps","--pg-user","quat","--pg-password","happypostgresuser","--port","8081","--auth-rpc-host","localhost:8090","--nats-host","0.0.0.0:4222"] command: [
# debug
"--debug","serve",
# http service port
"--port","8081",
# postgres
"--pg-host","10.0.0.29",
"--pg-port","5432",
"--pg-db","maps",
"--pg-user","quat",
"--pg-password","happypostgresuser",
# other hosts
"--nats-host","nats:4222",
"--auth-rpc-host","localhost:8090"
]
depends_on: depends_on:
- nats - nats
networks: networks: