blob: 3f14ec54fb74882100803cde0ef18bcf8935787f [file] [log] [blame]
Illyoung Choid1e4f5d2019-07-22 16:49:20 -07001# 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
18version: '2.1'
19services:
20 postgres:
21 image: postgres:9.6
22 environment:
23 - POSTGRES_USER=airflow
24 - POSTGRES_PASSWORD=airflow
25 - POSTGRES_DB=airflow
Illyoung Choi39262742019-07-23 13:28:00 -070026 ports:
27 - "5432:5432"
Illyoung Choid1e4f5d2019-07-22 16:49:20 -070028
Illyoung Choi39262742019-07-23 13:28:00 -070029 controller:
30 image: opencord/cord-workflow-controller:0.5.0
31 ports:
32 - "3030:3030"
33
34 airflow:
35 # image: opencord/cord-workflow-airflow
36 image: cord-workflow-airflow:0.5.0
Illyoung Choid1e4f5d2019-07-22 16:49:20 -070037 restart: always
38 depends_on:
39 - postgres
Illyoung Choi39262742019-07-23 13:28:00 -070040 - controller
Illyoung Choid1e4f5d2019-07-22 16:49:20 -070041 ports:
42 - "8080:8080"