Skip to content

Commit

Permalink
expose db port to local
Browse files Browse the repository at this point in the history
  • Loading branch information
fono09 committed Apr 15, 2023
1 parent de19330 commit 246ad16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ services:
shm_size: 256mb
networks:
- internal_network
- external_network
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
volumes:
- ./postgres14:/var/lib/postgresql/data
environment:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
expose:
- 5432
ports:
- '192.168.100.101:5432:5432'

redis:
restart: always
Expand Down

0 comments on commit 246ad16

Please sign in to comment.