maps-service/compose.yaml
2024-12-12 13:52:25 -08:00

53 lines
1.1 KiB
YAML

version: '3.9'
networks:
maps-service-network:
driver: bridge
secrets:
netrc:
file: /home/quat/.netrc
services:
nats:
image: docker.io/nats:latest
container_name: nats
command: ["-js"]
networks:
- maps-service-network
ports:
- "4222:4222"
maps-service:
build:
secrets:
- netrc
context: .
dockerfile: Containerfile
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"]
depends_on:
- nats
networks:
- maps-service-network
ports:
- "8081:8081"
web:
build:
context: web
dockerfile: Containerfile
networks:
- maps-service-network
ports:
- "3000:3000"
validation:
build:
context: validation
dockerfile: Containerfile
container_name: validation
depends_on:
- nats
networks:
- maps-service-network