31 lines
623 B
YAML
31 lines
623 B
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
rhsolutions-api:
|
|
build: ../RhSolutions.Api
|
|
container_name: rhsolutions-api
|
|
ports:
|
|
- 5000:5000
|
|
environment:
|
|
- DB_HOST=rhsolutions-db
|
|
- DB_PORT=5432
|
|
- DB_DATABASE=rhsolutions
|
|
- DB_USER=chebser
|
|
- DB_PASSWORD=Rehau-987
|
|
depends_on:
|
|
- rhsolutions-db
|
|
restart: unless-stopped
|
|
|
|
rhsolutions-db:
|
|
container_name: rhsolutions-db
|
|
build: ./database
|
|
environment:
|
|
- POSTGRES_USER=chebser
|
|
- POSTGRES_PASSWORD=Rehau-987
|
|
- POSTGRES_DB=rhsolutions
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
default:
|
|
name: rhsolutions |