maps-service/compose.yaml

47 lines
1012 B
YAML
Raw Normal View History

2024-12-11 01:03:18 +00:00
version: '3.9'
networks:
maps-service-network:
driver: bridge
services:
nats:
image: docker.io/nats:latest
container_name: nats
2024-12-12 20:15:56 +00:00
command: ["-js"]
2024-12-11 01:03:18 +00:00
networks:
- maps-service-network
2024-12-12 20:15:56 +00:00
ports:
- "4222:4222"
2024-12-11 01:03:18 +00:00
maps-service:
build:
context: .
dockerfile: Containerfile
container_name: maps-service
2024-12-12 20:15:56 +00:00
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"]
depends_on:
- nats
2024-12-11 01:03:18 +00:00
networks:
- maps-service-network
2024-12-12 20:15:56 +00:00
ports:
- "8081:8081"
2024-12-11 01:03:18 +00:00
web:
build:
context: web
dockerfile: Containerfile
networks:
- maps-service-network
2024-12-12 20:15:56 +00:00
ports:
- "3000:3000"
2024-12-11 01:03:18 +00:00
validation:
build:
context: validation
dockerfile: Containerfile
container_name: validation
2024-12-12 20:15:56 +00:00
depends_on:
- nats
2024-12-11 01:03:18 +00:00
networks:
- maps-service-network