Adding defaults
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 28s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 30s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 50s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 44s
Anatid Blog CI Workflow / deploy (push) Successful in 12s

This commit is contained in:
Phill Pover 2025-03-28 09:29:24 +00:00
parent 86487da705
commit c35e9a13cb

View File

@ -2,10 +2,10 @@
export default () => ({
port: parseInt(process.env.BLOG_PORT!, 10) || 3000,
database: {
host: process.env.POSTGRES_HOST,
host: process.env.POSTGRES_HOST || 'postgres',
port: parseInt(process.env.POSTGRES_PORT!, 10) || 5432,
name: process.env.BLOG_DB_NAME,
user: process.env.BLOG_DB_USER,
name: process.env.BLOG_DB_NAME || 'blog',
user: process.env.BLOG_DB_USER || 'blog',
password: process.env.BLOG_DB_PASSWORD
}
});