Illyoung Choi | d1e4f5d | 2019-07-22 16:49:20 -0700 | [diff] [blame] | 1 | # Copyright Matthieu "Puckel_" Roisil (https://github.com/puckel) |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # this file is copied from following link |
| 16 | # https://github.com/puckel/docker-airflow/blob/master/docker-compose-LocalExecutor.yml |
| 17 | |
| 18 | version: '2.1' |
| 19 | services: |
| 20 | postgres: |
| 21 | image: postgres:9.6 |
| 22 | environment: |
| 23 | - POSTGRES_USER=airflow |
| 24 | - POSTGRES_PASSWORD=airflow |
| 25 | - POSTGRES_DB=airflow |
Illyoung Choi | 3926274 | 2019-07-23 13:28:00 -0700 | [diff] [blame] | 26 | ports: |
| 27 | - "5432:5432" |
Illyoung Choi | d1e4f5d | 2019-07-22 16:49:20 -0700 | [diff] [blame] | 28 | |
Illyoung Choi | 3926274 | 2019-07-23 13:28:00 -0700 | [diff] [blame] | 29 | controller: |
Illyoung Choi | 18e656a | 2019-07-30 11:27:36 -0700 | [diff] [blame^] | 30 | image: opencord/cord-workflow-controller:0.5.2 |
Illyoung Choi | 3926274 | 2019-07-23 13:28:00 -0700 | [diff] [blame] | 31 | ports: |
| 32 | - "3030:3030" |
| 33 | |
| 34 | airflow: |
| 35 | # image: opencord/cord-workflow-airflow |
Illyoung Choi | 18e656a | 2019-07-30 11:27:36 -0700 | [diff] [blame^] | 36 | image: cord-workflow-airflow:0.5.1 |
Illyoung Choi | d1e4f5d | 2019-07-22 16:49:20 -0700 | [diff] [blame] | 37 | restart: always |
| 38 | depends_on: |
| 39 | - postgres |
Illyoung Choi | 3926274 | 2019-07-23 13:28:00 -0700 | [diff] [blame] | 40 | - controller |
Illyoung Choi | d1e4f5d | 2019-07-22 16:49:20 -0700 | [diff] [blame] | 41 | ports: |
| 42 | - "8080:8080" |