docker: fix maps-service
This commit is contained in:
parent
55b5516782
commit
d37964764e
@ -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"]
|
||||||
|
16
compose.yaml
16
compose.yaml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user