vue-todo/docker-compose.yml
2023-11-17 16:04:52 +01:00

43 lines
950 B
YAML

version: '3.9'
services:
dbproxy:
image: gitea.basebox.health/basebox-distribution/dbproxy
ports:
- "8081:8081"
command:
["--config-file=/bbconf/dbproxy-config.toml"]
volumes:
- ./bbconf/basebox/:/bbconf
broker:
image: gitea.basebox.health/basebox-distribution/broker
ports:
- "8080:8080"
command:
["--config-file=/bbconf/broker-config.toml"]
volumes:
- ./bbconf/basebox/:/bbconf
db:
image: postgres:15-alpine
volumes:
- postgres5:/var/lib/postgresql/data
- ./bbconf/postgres:/docker-entrypoint-initdb.d
ports:
- "5430:5432"
environment:
- POSTGRES_PASSWORD=bigsecret
- POSTGRES_USER=bb_todo
- POSTGRES_DB=bb_todo
web:
build:
context: .
dockerfile: web.Dockerfile
target: development
ports:
- "5167:5167"
volumes:
- .:/project
- /project/node_modules
volumes:
postgres5: