Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postgres in docker #42

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Add postgres in docker #42

merged 1 commit into from
Dec 4, 2023

Conversation

hexponent
Copy link
Contributor

No description provided.

@Salz0
Copy link
Owner

Salz0 commented Oct 29, 2023

Great, will merge when our Postgres is ready

@Salz0
Copy link
Owner

Salz0 commented Oct 29, 2023

#22

Copy link
Collaborator

@mykolasolodukha mykolasolodukha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Safety concerns

bot:
hostname: bot
image: flea
environment:
- REDIS_URL=redis
- DATABASE_URL=postgres://postgres:123456@db:5432/postgres
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it safe to run a postgres instance with such open credentials, given that we expose the 5432 port to external connections (line 16)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, its better to hide it, but I was waiting for postgres code to be merged. I will hide it here and also variables for db container as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Salz0
Copy link
Owner

Salz0 commented Nov 5, 2023

@hexponent hey, if you could solve the conflicts and do the safety measure -- would be awesome! Will merge.

Postgres is now activated within the bot

Copy link
Owner

@Salz0 Salz0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safety concern

@Salz0 Salz0 merged commit 1269031 into Salz0:master Dec 4, 2023
@Salz0
Copy link
Owner

Salz0 commented Dec 4, 2023

Thank you! @hexponent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants