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

[fix]: remove db-migration step from infisical.yaml #5209

Open
wants to merge 12 commits into
base: next
Choose a base branch
from
98 changes: 98 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,84 @@

All notable changes to this project will be documented in this file.

## [unreleased]

### 🚀 Features

- *(core)* Prevent using servers with existing resources as build servers
- *(ui)* Add textarea switching option in service compose editor

### 🐛 Bug Fixes

- *(service)* Update Fider service template healthcheck command
- *(core)* Improve server selection error handling in Docker component
- *(core)* Add server functionality check before dispatching container status
- *(ui)* Disable sticky scroll in Monaco editor

### 📚 Documentation

- Update changelog

### ⚙️ Miscellaneous Tasks

- Bump Coolify version to 4.0.0-beta.395

## [4.0.0-beta.394] - 2025-02-17

### 🐛 Bug Fixes

- *(core)* Update service status refresh event handling
- *(ui)* Adjust polling intervals for database and service status checks

### 📚 Documentation

- Update changelog

### ⚙️ Miscellaneous Tasks

- Bump Coolify version to 4.0.0-beta.394

## [4.0.0-beta.393] - 2025-02-15

### 🚀 Features

- *(core)* Add error logging and cron parsing to docker/server schedules

### 📚 Documentation

- Update changelog

### ⚙️ Miscellaneous Tasks

- Bump Coolify version to 4.0.0-beta.393

## [4.0.0-beta.392] - 2025-02-13

### 🚀 Features

- *(ui)* Add top padding to pricing plans view

### 🐛 Bug Fixes

- Pull latest image from registry when using build server
- *(deployment)* Improve server selection for deployment cancellation
- *(deployment)* Improve log line rendering and formatting
- *(s3-storage)* Optimize team admin notification query
- *(core)* Improve connection testing with dynamic disk configuration for s3 backups

### 🚜 Refactor

- Use pull flag on docker compose up

### 📚 Documentation

- Update changelog
- Update changelog

### ⚙️ Miscellaneous Tasks

- Rollback Coolify version to 4.0.0-beta.392

## [4.0.0-beta.391] - 2025-02-04

### 🚀 Features
Expand All @@ -13,6 +91,11 @@ All notable changes to this project will be documented in this file.
- *(changelog)* Add git cliff for automatic changelog generation
- *(workflows)* Improve changelog generation and workflows
- *(ui)* Add periodic status checking for services
- *(deployment)* Ensure private key is stored in filesystem before deployment
- *(slack)* Show message title in notification previews (#5063)
- *(i18n)* Add Arabic translations (#4991)
- *(i18n)* Add French translations (#4992)
- *(services)* Update `service-templates.json`

### 🐛 Bug Fixes

Expand All @@ -22,6 +105,17 @@ All notable changes to this project will be documented in this file.
- *(ui)* Simplify service templates loading logic
- *(ui)* Align title and add button vertically in various views
- Handle pullrequest:updated for reliable preview deployments
- *(ui)* Fix typo on team page (#5105)
- Cal.com documentation link give 404 (#5070)
- *(slack)* Notification settings URL in `HighDiskUsage` message (#5071)
- *(ui)* Correct typo in Storage delete dialog (#5061)
- *(lang)* Add missing italian translations (#5057)
- *(service)* Improve duplicati.yaml (#4971)
- *(service)* Links in homepage service (#5002)
- *(service)* Added SMTP credentials to getoutline yaml template file (#5011)
- *(service)* Added `KEY` Variable to Beszel Template (#5021)
- *(cloudflare-tunnels)* Dead links to docs (#5104)
- System-wide GitHub apps (#5114)

### 🚜 Refactor

Expand All @@ -31,12 +125,16 @@ All notable changes to this project will be documented in this file.

- *(services)* Reword nitropage url and slogan
- *(readme)* Add Convex to special sponsors section
- Update changelog

### ⚙️ Miscellaneous Tasks

- *(config)* Increase default PHP memory limit to 256M
- Add openapi response
- *(workflows)* Make naming more clear and remove unused code
- Bump Coolify version to 4.0.0-beta.392/393
- *(ci)* Update changelog generation workflow to target 'next' branch
- *(ci)* Update changelog generation workflow to target main branch

## [4.0.0-beta.390] - 2025-01-28

Expand Down
24 changes: 8 additions & 16 deletions templates/compose/infisical.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ services:
- NODE_ENV=${NODE_ENV:-production}
- ENCRYPTION_KEY=${SERVICE_PASSWORD_ENCRYPTIONKEY}
- AUTH_SECRET=${SERVICE_REALBASE64_64_AUTHSECRET}
- SMTP_HOST=${SMTP_HOST}
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_PORT=${SMTP_PORT}
- SMTP_FROM_ADDRESS=${SMTP_FROM_ADDRESS}
- SMTP_FROM_NAME=${SMTP_FROM_NAME}
- DB_CONNECTION_URI=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@db:5432/${POSTGRES_DB}
- REDIS_URL=redis://redis:6379
healthcheck:
Expand All @@ -23,8 +29,8 @@ services:
depends_on:
redis:
condition: service_healthy
db-migration:
condition: service_completed_successfully
db:
condition: service_healthy
redis:
image: "redis:7"
volumes:
Expand Down Expand Up @@ -53,17 +59,3 @@ services:
interval: 5s
timeout: 10s
retries: 10
db-migration:
exclude_from_hc: true
image: "infisical/infisical:latest-postgres"
depends_on:
db:
condition: service_healthy
command: "npm run migration:latest"
restart: on-failure
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- POSTGRES_DB=${POSTGRES_DB:-infisical}
- DB_CONNECTION_URI=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@db:5432/${POSTGRES_DB:-infisical}
- REDIS_URL=redis://redis:6379