Skip to content

Commit

Permalink
Db passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyTst committed Oct 8, 2023
1 parent acc05c0 commit 4491f62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ services:
image: library/postgres:14.1

environment:
- POSTGRES_USER=rest
- POSTGRES_PASSWORD=rest
- POSTGRES_DB=rest
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- eat_place_pg_data:/var/lib/postgresql/data
ports:
Expand All @@ -21,7 +21,7 @@ services:
container_name: redis
command:
- 'redis-server'
- '--requirepass myStrongPassword'
- '--requirepass ${REDIS_PASSWORD}'
ports:
- 6379:6379

Expand Down

0 comments on commit 4491f62

Please sign in to comment.