ashb commented on code in PR #73836:
URL: https://github.com/apache/airflow/pull/73836#discussion_r4126645805


##########
scripts/ci/docker-compose/backend-postgres.yml:
##########
@@ -44,4 +47,7 @@ services:
     restart: "on-failure"
 volumes:
   postgres-data-volume:
-    name: "postgres${POSTGRES_VERSION}-db-volume"
+    labels:
+      org.apache.airflow.breeze: "true"
+      org.apache.airflow.breeze.worktree: "${BREEZE_WORKTREE_PATH:-}"
+    name: "${COMPOSE_PROJECT_NAME}-postgres${POSTGRES_VERSION}-db-volume"

Review Comment:
   Migration handled in next push. It looks like this when run:
   
   ```
   Stop containers ['f10e3631ddaf'] to migrate legacy Postgres volumes?
   Press y/N/q: y
   f10e3631ddaf
   Migrating postgres14-db-volume to breeze-postgres14-db-volume
   breeze-postgres14-db-volume
   f10e3631ddaf
   postgres14-db-volume
   [+]  2/2t 2/22
    ✔ Volume postgres14-db-volume Created                                       
                                                                   0.0s
    ✔ Container breeze-postgres-1 Started                                       
                                                                   0.1s
   Container breeze-postgres-1 Waiting
   Container breeze-postgres-1 Healthy
   Container breeze-airflow-run-66d31a62a97f Creating
   Container breeze-airflow-run-66d31a62a97f Created
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to