This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#812] Revert back to using CeleryExecutor instead of LocalExecutor
We solved the bug https://issues.apache.org/jira/browse/AIRFLOW-1131 by creating a new DockerCLIOperator, so we can return using the CeleryExecutor. Reverts 99106c3. opentrials/opentrials#812
- Loading branch information
1 parent
3a5c56d
commit e75f3cd
Showing
5 changed files
with
138 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
version: '2' | ||
services: | ||
postgres: | ||
image: postgres:9.5 | ||
restart: always | ||
volumes: | ||
- /var/lib/postgresql/data:/var/lib/postgresql/data | ||
ports: | ||
- "5432:5432" | ||
environment: | ||
POSTGRES_USER: airflow | ||
POSTGRES_PASSWORD: airflow | ||
POSTGRES_DB: airflow | ||
image: postgres:9.5 | ||
restart: always | ||
volumes: | ||
- /var/lib/postgresql/data:/var/lib/postgresql/data | ||
ports: | ||
- '5432:5432' | ||
environment: | ||
POSTGRES_USER: airflow | ||
POSTGRES_PASSWORD: airflow | ||
POSTGRES_DB: airflow | ||
|
||
webserver: | ||
links: | ||
- postgres:postgres | ||
links: | ||
- postgres | ||
|
||
scheduler: | ||
links: | ||
- postgres:postgres | ||
links: | ||
- postgres | ||
|
||
worker: | ||
links: | ||
- postgres | ||
|
||
flower: | ||
links: | ||
- postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters