Skip to content

Commit

Permalink
Added some comments on docker compose file.
Browse files Browse the repository at this point in the history
  • Loading branch information
devcantuaria committed May 14, 2024
1 parent 9298033 commit e98bf29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ services:
dockerfile: Dockerfile.postgres
restart: always
environment:
# Postgres Credentials
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- "./postgres-data:/var/lib/postgresql/data"
# Volume backup for postgres
- "./postgres-data:/var/lib/postgresql/data"
networks:
default:
ipv4_address: "172.20.0.7"
Expand Down

0 comments on commit e98bf29

Please sign in to comment.