Skip to content

Commit

Permalink
Revert back to simple postgres connection string saved at config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
heryxpc committed Mar 15, 2024
1 parent 3facabf commit 639207a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions cloudasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
Create a `.env` file at [cloudquery](./cloudquery) with content:
```
CLOUDQUERY_API_KEY=your_api_key
POSTGRESQL_CONNECTION_STRING=postgres://postgres:{PASS_FROM_DOCKER_COMPOSE}@postgres:5432/postgres?sslmode=disable
```


Expand All @@ -29,7 +28,6 @@ Sample `.env`:
CLOUDQUERY_API_KEY=your_api_key
AWS_ACCESS_KEY_ID={Your AWS Access Key ID}
AWS_SECRET_ACCESS_KEY={Your AWS secret access key}
POSTGRESQL_CONNECTION_STRING=postgres://postgres:{PASS_FROM_DOCKER_COMPOSE}@postgres:5432/
```

## Build containers with docker compose
Expand Down
2 changes: 1 addition & 1 deletion cloudasm/cloudquery/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
registry: cloudquery

Check warning on line 19 in cloudasm/cloudquery/config.yaml

View workflow job for this annotation

GitHub Actions / TruffleHog

Found unverified Postgres result 🐷🔑
version: "v7.5.0"
spec:
connection_string: "${POSTGRESQL_CONNECTION_STRING}"
connection_string: "postgres://postgres:pass@postgres:5432/postgres?sslmode=disable"
1 change: 0 additions & 1 deletion cloudasm/cloudquery/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
command: sync --cq-dir /cache/.cq --log-console --no-log-file --telemetry-level none /config.yml
environment:
CLOUDQUERY_API_KEY: ${CLOUDQUERY_API_KEY}
POSTGRESQL_CONNECTION_STRING: ${POSTGRESQL_CONNECTION_STRING}
volumes:
- ./config.yaml:/config.yml
- ./.cq:/cache/.cq
Expand Down

0 comments on commit 639207a

Please sign in to comment.