blob: f62365ca83e783a502f178a2b251b9737eedaf01 [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:
Illyoung Choi4fed65e2019-07-31 13:06:24 -070030 image: opencord/cord-workflow-controller:0.5.5
Illyoung Choi39262742019-07-23 13:28:00 -070031 ports:
32 - "3030:3030"
33
34 airflow:
35 # image: opencord/cord-workflow-airflow
Illyoung Choi4b5ebfd2019-08-01 10:39:06 -070036 image: opencord/cord-workflow-airflow:0.5.3
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"