Skip to content

Commit

Permalink
Fixed a missing $ in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jomariya23156 committed Apr 4, 2024
1 parent 76c1055 commit d61adc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ Prerequisites: Docker, Kubernetes, and Helm
2. ```
docker-compose -f docker-compose.yml -f docker-compose-airflow.yml up -d
```
3. That's it!
3. Sometimes it can freeze or fail the first time, especially if your machine is not that high in spec (like mine T_T). But you can wait a second, try the last command again and it should start up fine.
4. That's it!

**Note:** Most of the services' restart is left unspecified, so they won't restart on failures (because sometimes it's quite resource-consuming during development, you see I have a poor laptop lol).

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
- .env
environment:
- KAFKA_BOOTSTRAP_SERVER=kafka:9092
- DB_CONNECTION_URL=postgresql://spark_user:SuperSecurePwdHere@postgres:{POSTGRES_PORT}/spark_pg_db
- DB_CONNECTION_URL=postgresql://spark_user:SuperSecurePwdHere@postgres:${POSTGRES_PORT}/spark_pg_db
networks:
- forecast-network
volumes:
Expand Down

0 comments on commit d61adc9

Please sign in to comment.