Skip to content

Commit

Permalink
feat: removing volumes in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmoraist committed Oct 1, 2024
1 parent f2f7574 commit 877bbff
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ services:
- POSTGRES_DB=db_task
networks:
- pg_network
volumes:
- pg_data:/var/lib/postgresql/data

db_comment:
container_name: db_comment
Expand All @@ -26,8 +24,6 @@ services:
- POSTGRES_DB=db_comment
networks:
- pg_network
volumes:
- pg_data:/var/lib/postgresql/data

db_user:
container_name: db_user
Expand All @@ -40,8 +36,6 @@ services:
- POSTGRES_DB=db_user
networks:
- pg_network
volumes:
- pg_data:/var/lib/postgresql/data

pgadmin:
image: dpage/pgadmin4:latest
Expand All @@ -55,14 +49,6 @@ services:
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: password
volumes:
- pgadmin:/var/lib/pgadmin

volumes:
pg_data:
driver: local
pgadmin:
driver: local

networks:
pg_network:
Expand Down

0 comments on commit 877bbff

Please sign in to comment.