Skip to content

Commit

Permalink
add a docker compose for the database
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyadriell committed Jul 8, 2023
1 parent 9048ec2 commit b09ed65
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions srcs/inventory-app/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '1.0'
services:
inventory-db:
image: postgres
container_name: inventory-db
environment:
POSTGRES_USER: ${POSTGRES_USER_INVENTORY_DB}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD_INVENTORY_DB}
POSTGRES_DB: ${POSTGRES_INVENTORY_DB}
ports:
- ${POSTGRES_PORT_INVENTORY_DB}:5432

0 comments on commit b09ed65

Please sign in to comment.