diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index b0ad46c..4d61971 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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: @@ -21,7 +21,7 @@ services: container_name: redis command: - 'redis-server' - - '--requirepass myStrongPassword' + - '--requirepass ${REDIS_PASSWORD}' ports: - 6379:6379