diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-14 09:53:10 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-14 09:53:10 +0300 |
commit | da94ed6d89ac2b933718419bbe42f2d913514231 (patch) | |
tree | 4c3f9ba7f5c54c564ee28b0e3c973c374f2499ac /RhSolutions.Deploy/docker-compose.yml |
Init commit
Diffstat (limited to 'RhSolutions.Deploy/docker-compose.yml')
-rw-r--r-- | RhSolutions.Deploy/docker-compose.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/RhSolutions.Deploy/docker-compose.yml b/RhSolutions.Deploy/docker-compose.yml new file mode 100644 index 0000000..b5f4ebc --- /dev/null +++ b/RhSolutions.Deploy/docker-compose.yml @@ -0,0 +1,31 @@ +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
\ No newline at end of file |