Skip to content

Commit

Permalink
chore: inicia network DNIT
Browse files Browse the repository at this point in the history
  • Loading branch information
yudi-azvd committed Nov 18, 2023
1 parent 73f5a57 commit 1c9edc9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: "3.0"

services:
usuario-service:
depends_on:
Expand All @@ -17,6 +18,8 @@ services:
- MODE=container
env_file:
- .env
networks:
- dnit-network

dnit-usuario-db:
container_name: dnit-usuario-db
Expand All @@ -29,6 +32,8 @@ services:
- "5432:5432"
volumes:
- pg-data-volume:/var/lib/postgresql/data
networks:
- dnit-network

pgadmin:
container_name: dnit-pg-admin
Expand All @@ -40,7 +45,14 @@ services:
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: fga1234
networks:
- dnit-network

volumes:
pg-data-volume:
pg-admin-volume:

networks:
dnit-network:
name: dnit-network
driver: bridge

0 comments on commit 1c9edc9

Please sign in to comment.